Dungeon Architect
17.0.0
|
Selector rule allow you to attach selection behavior to decide if a visual node should be inserted into the scene More...
Public Member Functions | |
virtual void | GetTransform (PropSocket socket, DungeonModel model, Matrix4x4 propTransform, System.Random random, out Vector3 outPosition, out Quaternion outRotation, out Vector3 outScale) |
Implement this method to provide a transform based on your logic. More... | |
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 TransformationRule.cs.
|
virtual |
Implement this method to provide a transform based on your logic.
socket | The marker data structure |
model | The dungeon model |
propTransform | The combined transform of the visual node that invoked this rule |
random | The random stream used by the builder. User this random stream for any randomness for consistancy |
outPosition | Set your position offset here |
outRotation | Set your rotation offset here |
outScale | Set your scale offset here |
Definition at line 22 of file TransformationRule.cs.