Dungeon Architect  17.0.0
DungeonArchitect.Themeing.SpriteDungeonThemeItem Class Reference

Sprite node data asset attributes More...

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

Public Attributes

Sprite sprite
 
Color color
 
Material materialOverride
 
string sortingLayerName
 
int orderInLayer
 
DungeonSpriteCollisionType collisionType
 
PhysicsMaterial2D physicsMaterial
 
Vector2 physicsOffset
 
Vector2 physicsSize
 
float physicsRadius
 
- Public Attributes inherited from DungeonArchitect.Themeing.DungeonThemeItem
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

Sprite node data asset attributes

Definition at line 161 of file DungeonThemeItems.cs.


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