Interface: NodeProps
WebSG.NodeProps
Interface representing the properties you can create a Node object with.
Table of contents
Properties
Properties
mesh
• Optional mesh: Mesh
The initial mesh associated with the node.
Defined in
name
• Optional name: string
The initial name of the node.
Defined in
rotation
• Optional rotation: Quaternion
The initial rotation of the node.
Defined in
scale
• Optional scale: Vector3
The initial scale of the node.
Defined in
translation
• Optional translation: Vector3
The initial translation of the node.
Defined in
uiCanvas
• Optional uiCanvas: UICanvas
The initial UI canvas associated with the node.