Dungeon Architect  17.0.0
DungeonArchitect.Themeing.DungeonThemeItem Class Reference

The data structure to hold information about a single node in the asset file More...

Inheritance diagram for DungeonArchitect.Themeing.DungeonThemeItem:
DungeonArchitect.Themeing.GameObjectArrayDungeonThemeItem DungeonArchitect.Themeing.GameObjectDungeonThemeItem DungeonArchitect.Themeing.SpriteDungeonThemeItem

Public Attributes

string NodeId
 The unique guid of the node that generated this prop More...
 
string AttachToSocket
 The socket to attach to More...
 
float Affinity
 The probability of attachment More...
 
bool ConsumeOnAttach
 Should this prop consume the node (i.e. stop further processing of the sibling nodes) More...
 
Matrix4x4 Offset
 The offset to apply from the node's marker position More...
 
List< PropChildSocketDataChildSockets = new List<PropChildSocketData>()
 The child socket markers emitted from this node More...
 
DungeonThemeItemStaticMode StaticState = DungeonThemeItemStaticMode.Unchanged
 Indicates if the object's static flag is to be set More...
 
bool affectsNavigation
 Flag to indicate if this node's geometry affects the navmesh More...
 
bool UseSelectionRule
 Flag to indicate if a selection rule script is used to determine if this prop is selected for insertion More...
 
string SelectorRuleClassName
 The script to to determine if this prop is selected for insertion. This holds the class of type SelectorRule More...
 
bool UseTransformRule
 Flag to indicate if a transformation rule script is used to determine the transform offset while inserting this mesh More...
 
string TransformRuleClassName
 The script that calculates the transform offset to be used when inserting this mesh. This holds a class of type TransformationRule More...
 
bool useSpatialConstraint = false
 Flag to indicate if spatial constraints are to be used More...
 
SpatialConstraintAsset spatialConstraint
 Spatial constraints lets you select a node based on nearby neighbor constraints More...
 
bool externallyManaged = false
 If externally managed, the theme engine will not destroy the object More...
 

Detailed Description

The data structure to hold information about a single node in the asset file

Definition at line 65 of file DungeonThemeItems.cs.

Member Data Documentation

◆ affectsNavigation

bool DungeonArchitect.Themeing.DungeonThemeItem.affectsNavigation

Flag to indicate if this node's geometry affects the navmesh

Definition at line 104 of file DungeonThemeItems.cs.

◆ Affinity

float DungeonArchitect.Themeing.DungeonThemeItem.Affinity

The probability of attachment

Definition at line 79 of file DungeonThemeItems.cs.

◆ AttachToSocket

string DungeonArchitect.Themeing.DungeonThemeItem.AttachToSocket

The socket to attach to

Definition at line 74 of file DungeonThemeItems.cs.

◆ ChildSockets

List<PropChildSocketData> DungeonArchitect.Themeing.DungeonThemeItem.ChildSockets = new List<PropChildSocketData>()

The child socket markers emitted from this node

Definition at line 94 of file DungeonThemeItems.cs.

◆ ConsumeOnAttach

bool DungeonArchitect.Themeing.DungeonThemeItem.ConsumeOnAttach

Should this prop consume the node (i.e. stop further processing of the sibling nodes)

Definition at line 84 of file DungeonThemeItems.cs.

◆ externallyManaged

bool DungeonArchitect.Themeing.DungeonThemeItem.externallyManaged = false

If externally managed, the theme engine will not destroy the object

Definition at line 139 of file DungeonThemeItems.cs.

◆ NodeId

string DungeonArchitect.Themeing.DungeonThemeItem.NodeId

The unique guid of the node that generated this prop

Definition at line 69 of file DungeonThemeItems.cs.

◆ Offset

Matrix4x4 DungeonArchitect.Themeing.DungeonThemeItem.Offset

The offset to apply from the node's marker position

Definition at line 89 of file DungeonThemeItems.cs.

◆ SelectorRuleClassName

string DungeonArchitect.Themeing.DungeonThemeItem.SelectorRuleClassName

The script to to determine if this prop is selected for insertion. This holds the class of type SelectorRule

Definition at line 114 of file DungeonThemeItems.cs.

◆ spatialConstraint

SpatialConstraintAsset DungeonArchitect.Themeing.DungeonThemeItem.spatialConstraint

Spatial constraints lets you select a node based on nearby neighbor constraints

Definition at line 134 of file DungeonThemeItems.cs.

◆ StaticState

DungeonThemeItemStaticMode DungeonArchitect.Themeing.DungeonThemeItem.StaticState = DungeonThemeItemStaticMode.Unchanged

Indicates if the object's static flag is to be set

Definition at line 99 of file DungeonThemeItems.cs.

◆ TransformRuleClassName

string DungeonArchitect.Themeing.DungeonThemeItem.TransformRuleClassName

The script that calculates the transform offset to be used when inserting this mesh. This holds a class of type TransformationRule

Definition at line 124 of file DungeonThemeItems.cs.

◆ UseSelectionRule

bool DungeonArchitect.Themeing.DungeonThemeItem.UseSelectionRule

Flag to indicate if a selection rule script is used to determine if this prop is selected for insertion

Definition at line 109 of file DungeonThemeItems.cs.

◆ useSpatialConstraint

bool DungeonArchitect.Themeing.DungeonThemeItem.useSpatialConstraint = false

Flag to indicate if spatial constraints are to be used

Definition at line 129 of file DungeonThemeItems.cs.

◆ UseTransformRule

bool DungeonArchitect.Themeing.DungeonThemeItem.UseTransformRule

Flag to indicate if a transformation rule script is used to determine the transform offset while inserting this mesh

Definition at line 119 of file DungeonThemeItems.cs.


The documentation for this class was generated from the following file: