@bloopjs/toodle / scene/SceneNode / NodeOptions
Type Alias: NodeOptions
NodeOptions =
object
Defined in: scene/SceneNode.ts:578
Properties
flipX?
optionalflipX:boolean
Defined in: scene/SceneNode.ts:602
Flip the node horizontally.
flipY?
optionalflipY:boolean
Defined in: scene/SceneNode.ts:604
Flip the node vertically.
id?
optionalid:number
Defined in: scene/SceneNode.ts:580
The unique identifier for the node.
isActive?
optionalisActive:boolean
Defined in: scene/SceneNode.ts:596
The active state for the node.
key?
optionalkey:string
Defined in: scene/SceneNode.ts:606
A string key for the node - can be used to reference the node from an external lookup system
kids?
optionalkids:SceneNode[]
Defined in: scene/SceneNode.ts:598
The kids for the node.
label?
optionallabel:string
Defined in: scene/SceneNode.ts:582
The label for the node.
layer?
optionallayer:number
Defined in: scene/SceneNode.ts:584
The layer for the node.
position?
optionalposition:Point
Defined in: scene/SceneNode.ts:590
The position for the node.
render?
optionalrender:RenderComponent
Defined in: scene/SceneNode.ts:600
The render component for the node.
rotation?
optionalrotation:number
Defined in: scene/SceneNode.ts:586
The rotation for the node in degrees. Cannot be used with rotationRadians.
rotationRadians?
optionalrotationRadians:number
Defined in: scene/SceneNode.ts:588
The rotation for the node in radians. Cannot be used with rotation.
scale?
optionalscale:Vec2|number
Defined in: scene/SceneNode.ts:592
The scale for the node.
size?
optionalsize:Size
Defined in: scene/SceneNode.ts:594
The desired size for the node.