The MapNode class is a fundamental component used for representing objects within the world object tree in the s&box editor. It provides properties and methods to manage the node's position, orientation, and hierarchy within the map.
The MapNode class is a fundamental component used for representing objects within the world object tree in the s&box editor. It provides properties and methods to manage the node's position, orientation, and hierarchy within the map.
Member Name | Summary |
---|---|
Copy | Creates a copy of this map node. |
Remove | Removes this map node from its parent. |
Name | User specified name of this node. |
TypeString | Native C++ type name for this map node (useful for debugging). |
Position | World position of this map node. |
Angles | Euler angles of this map node. |
Scale | Non-uniform scalar for this map node. |
Parent | The parent node, at the top level this will be the MapWorld. |
Children | Each MapNode can have many children. Children usually transform with their parents. |
Visible | Visibility of this MapNode, e.g., if it's been hidden by the user. |
World | The world this map node belongs to. |
GeneratesEntityModelGeometry | Indicates if this map node generates models to use. |