Structure of an Area

From HEWIKI
Jump to: navigation, search
See also: Area node structure

The diagram needs to be updated and made clearer

Contents


Diagram

Areastructurearearoomassoci.jpg

Area Root

The area root can be found using the GetRootNode() built-in function. This represents the highest level node in an area. Associated via a base_hard_association is the Area Node. The Area Node is the node to which all other nodes in the area are associated.

Area Instance level of information is typically stored on the Area Root if it is GLOMmed on, or associated to it if the information is stored in a persisted node.


Area Node

The area node is the node to which all other nodes that make up the area are associated.

The area node serves as the source for a number of soft associations to other nodes that make up the area including:

AreaPathAssociation 
Association between the Area Node and the Path Node
AreaAssetAssociation 
Association between the Area Node an all assets that have been loaded (asset section of the assets panel in Heroblade).
AreaRoomAssociation 
Association between the Area Node and nodes representing the visualization concept of rooms.


Path Nodes

Path nodes are associated with the Area Node via a base_hard_association and the soft association AreaPathAssociation. Points on a path are child nodes of the path node associated to it via a base_hard_association.

Path Points

Path points resent specific points in space on a path. They are associated to the Path Node via a base_hard_association.

Rooms

Rooms have a base_hard_assocation and the soft association AreaRoomAssociation with the AreaNode. Rooms also have a soft association to 0...n other rooms to represent whether or not a room is visible, this association is the soft association RoomVisibleAssociation. All instances of assets in a "room" are associated to the room via a base_hard_association.

Assets

Assets are associated to the Area Node via a base_hard_association and the soft association AreaAssetAssociation. All instances of an asset are associated to the asset via the soft association AssetReferenceAss.

Instances

Instances are associated to rooms via a base_hard_association. Instances have a soft association to the asset from which they were instantiated named AssetReferenceAss.

Additional information

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox