new node() → {vgl.node}
- Description:
Create a new instance of class node.
- Source:
Returns:
- Type
- vgl.node
Methods
boundsModified()
- Description:
Mark that the bounds are modified.
- Source:
material() → {vgl.material}
- Description:
Return active material used by the node.
- Source:
Returns:
- Type
- vgl.material
parent() → {vgl.node}
- Description:
Return current parent of the node.
- Source:
Returns:
- Type
- vgl.node
setMaterial(material) → {boolean}
- Description:
Set material to be used the node.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
material |
vgl.material |
Returns:
- Type
- boolean
setParent(parent) → {boolean}
- Description:
Set parent of the node.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
parent |
vgl.node |
Returns:
- Type
- boolean
setVisible(flag) → {boolean}
- Description:
Turn ON/OFF visibility of the node.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
flag |
boolean |
Returns:
- Type
- boolean
visible() → {boolean}
- Description:
Check if the node is visible or node.
- Source:
Returns:
- Type
- boolean