Elaztek Developer Hub
Blamite Game Engine - Sapien (Library)  00420.05.12.24.2119.blamite
The level editor application for the Blamite Game Engine.
Sapien::Hierarchy Namespace Reference

Namespace containing functions for interacting with the scenario hierarchy. More...

Functions

SAPIEN_LIB_API void PrepareHierarchy ()
 Prepares a new scenario hierarchy. More...
 
SAPIEN_LIB_API void ReleaseHierarchy ()
 Releases any data used by the scenario hierarchy. More...
 
SAPIEN_LIB_API BlamScenarioHierarchyGetHierarchy ()
 Retrieves the current scenario hierarchy. More...
 
SAPIEN_LIB_API void SaveScenario ()
 Attempts to save the current hierarchy data back to the scenario tag. More...
 

Detailed Description

Namespace containing functions for interacting with the scenario hierarchy.

The scenario hierarchy is a more user-friendly representation of the data contained within a scenario tag. It will display all objects placed within a scenario, including starting points, volumes, objects, and more.

Function Documentation

◆ GetHierarchy()

BlamScenarioHierarchy * Sapien::Hierarchy::GetHierarchy ( )

Retrieves the current scenario hierarchy.

Returns
Pointer to the current scenario hierarchy.
+ Here is the caller graph for this function:

◆ PrepareHierarchy()

void Sapien::Hierarchy::PrepareHierarchy ( )

Prepares a new scenario hierarchy.

This will also destroy any existing hierarchy data, if it is already present.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReleaseHierarchy()

void Sapien::Hierarchy::ReleaseHierarchy ( )

Releases any data used by the scenario hierarchy.

+ Here is the caller graph for this function:

◆ SaveScenario()

void Sapien::Hierarchy::SaveScenario ( )

Attempts to save the current hierarchy data back to the scenario tag.