![]() |
Blamite Game Engine - Sapien (Library)
00433.02.16.25.2127.blamite
The level editor application for the Blamite Game Engine.
|
Class representing an object hierarchy node. More...
#include <hierarchy.h>
Public Member Functions | |
BlamScenarioHierarchyNode_Object () | |
Constructs a new object hierarchy node. More... | |
BlamScenarioHierarchyNode_Object (std::string custom_name) | |
Constructs a new object hierarchy node. More... | |
~BlamScenarioHierarchyNode_Object () | |
std::string | GetName () |
Retrieves the display name of the hierarchy node. More... | |
std::string | GetTypeLabel () |
Creates a 'Type' label for the node to be shown to the user. More... | |
std::string | GetClassLabel () |
Creates a 'Class' label for the node to be shown to the user. More... | |
![]() | |
BlamScenarioHierarchyNode (BlamScenarioHierarchyNodeType _node_type) | |
Constructs a new scenario hierarchy node. More... | |
BlamScenarioHierarchyNode (BlamScenarioHierarchyNodeType _node_type, std::string _display_name_override) | |
Constructs a new scenario hierarchy node. More... | |
virtual | ~BlamScenarioHierarchyNode () |
BlamScenarioHierarchyNodeType | GetType () |
Retrieves the type of this node. More... | |
Public Attributes | |
BlamWorldObject * | world_object = nullptr |
The world object that this node refers to. More... | |
![]() | |
BlamScenarioHierarchyNode * | parent_node = nullptr |
The parent node, if any, of this hierarchy node. More... | |
Additional Inherited Members | |
![]() | |
bool | use_custom_name = false |
Whether or not to use a custom display name for the node. More... | |
std::string | display_name_override = "unspecified" |
The custom display name of this hierarchy node. More... | |
Class representing an object hierarchy node.
Objects within the hierarchy refer to any non-group object which can be manipulated.
BlamScenarioHierarchyNode_Object::BlamScenarioHierarchyNode_Object | ( | ) |
Constructs a new object hierarchy node.
BlamScenarioHierarchyNode_Object::BlamScenarioHierarchyNode_Object | ( | std::string | custom_name | ) |
Constructs a new object hierarchy node.
custom_name | - The custom display name of this node. |
BlamScenarioHierarchyNode_Object::~BlamScenarioHierarchyNode_Object | ( | ) |
std::string BlamScenarioHierarchyNode_Object::GetClassLabel | ( | ) |
Creates a 'Class' label for the node to be shown to the user.
NONE
.
|
virtual |
Retrieves the display name of the hierarchy node.
Reimplemented from BlamScenarioHierarchyNode.
std::string BlamScenarioHierarchyNode_Object::GetTypeLabel | ( | ) |
Creates a 'Type' label for the node to be shown to the user.
BlamWorldObject* BlamScenarioHierarchyNode_Object::world_object = nullptr |
The world object that this node refers to.