NodeProps
Node properties interface defining common properties for all node components.
Properties
key
key: string | number;
Unique identifier.
ref
ref: Ref<Node>;
Node reference.
children
children: Node[]
Child nodes.
position
position: PossibleVector2;
Position.
rotation
rotation: number;
Rotation angle.
scale
scale: number;
Scale.
opacity
opacity: number;
Opacity.
cache
cache: boolean;
Whether to cache.
zIndex
zIndex: number;
Z-index level.