Dungeon Architect  17.0.0
DungeonArchitect.SelectorRule Class Reference

Selector rule allow you to attach selection behavior to decide if a visual node should be inserted into the scene More...

Inheritance diagram for DungeonArchitect.SelectorRule:

Public Member Functions

virtual bool CanSelect (PropSocket socket, Matrix4x4 propTransform, DungeonModel model, System.Random random)
 Implementations should override this and determine if the node should be selected (inserted into the scene) More...
 

Detailed Description

Selector rule allow you to attach selection behavior to decide if a visual node should be inserted into the scene

Definition at line 10 of file SelectorRule.cs.

Member Function Documentation

◆ CanSelect()

virtual bool DungeonArchitect.SelectorRule.CanSelect ( PropSocket  socket,
Matrix4x4  propTransform,
DungeonModel  model,
System.Random  random 
)
virtual

Implementations should override this and determine if the node should be selected (inserted into the scene)

Parameters
socketThe marker data-structure
propTransformThe combined transform of the visual node that invoked this rule
modelThe dungeon model
randomThe random stream used by the builder. User this random stream for any randomness for consistancy
Returns

Definition at line 20 of file SelectorRule.cs.


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