The SceneGraph3D Description Language
node
| Derived from: |
- |
| Class name: |
Node3D |
| Placement: |
Nowhere |
| Description: |
This is the generic node, which every other node is subclassed from. It has no functional counterpart in the scene description language, other than define the minimum set of messages all nodes accept and therefore you cannot include it in the XML file. |
| Special notes: |
It cannot be declared in the scene file. |
| Inherited attributes: |
- |
| New attributes: |
| attribute |
type |
description |
| active |
BOOLEAN |
Turns the node and all its children (if any) on or off. When a node is switched off, all processing is suspended, except the message passing mechanism. In the case of the world special node, time keeping continues, even if the node is suspended. Default value is true. |
| visible |
BOOLEAN |
Defines the display state of the node and its children. If a node is not visible, it is not present in any drawing calculations. Default value is true. |
| debug |
BOOLEAN |
If true, sets the drawing state of an entity to debug mode, allowing for aditional data to be drawn (e.g. bounding boxes etc). |
| name |
STRING |
The name of the node. This attribute is optional, but when the node must be references at runtime by another one, the reference is passed by name, so a unique name has to be attributed to every referenced node. Default name for all regular nodes is "none" |
|
| Events: |
|
| Inherited events: |
- |
| New messages: |
| attribute |
value |
description |
| active |
BOOLEAN |
Enables or disables the node operation. |
| visible |
BOOLEAN |
Shows or hides the particular node (and its subtree). |
| hide |
- |
Same as "visible false" |
| show |
- |
Same as "visible true" |
| enable |
- |
Same as "active true" |
| activate |
- |
Same as "active true" |
| disable |
- |
Same as "active false" |
| deactivate |
- |
Same as "active false" |
|
| Inherited messages: |
- |
| Redefined messages: |
- |
| Obsolete messages: |
- |
Georgios Papaioannou, 6 Feb. 2009