The MapNode class is a fundamental component used to represent 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 structure.
The MapNode class is a fundamental component used to represent 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 structure.
Member Name | Summary |
---|---|
Name | User specified name of this node |
TypeString | Native C++ type name for this map node (nice for debug, might disappear at some point) |
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, etc. |
Visible | Visibility of this MapNode, e.g if it's been hidden by the user |
World | The world this map node belongs to. |
GeneratesEntityModelGeometry | Does this map node generate models to use? |
Member Name | Summary |
---|---|
Copy | Creates a copy of this map node. |
Remove | Removes this map node from its parent. |