Class FlexalonRandomModifier
- Namespace
- Flexalon
- Assembly
- Flexalon.dll
The Flexalon Random Modifier component can be added to any layout to randomly modify the positions and rotations of the children.
public class FlexalonRandomModifier : FlexalonComponent, FlexalonModifier
- Inheritance
-
objectFlexalonRandomModifier
- Implements
- Inherited Members
Properties
PositionMax
Maximum position value.
public Vector3 PositionMax { get; set; }
Property Value
- Vector3
PositionMaxX
Maximum X position value.
public float PositionMaxX { get; set; }
Property Value
- float
PositionMaxY
Maximum Y position value.
public float PositionMaxY { get; set; }
Property Value
- float
PositionMaxZ
Maximum Z position value.
public float PositionMaxZ { get; set; }
Property Value
- float
PositionMin
Minimum position value.
public Vector3 PositionMin { get; set; }
Property Value
- Vector3
PositionMinX
Minimum X position value.
public float PositionMinX { get; set; }
Property Value
- float
PositionMinY
Minimum Y position value.
public float PositionMinY { get; set; }
Property Value
- float
PositionMinZ
Minimum Z position value.
public float PositionMinZ { get; set; }
Property Value
- float
RandomizePositionX
If true, the X position of each child will be randomized.
public bool RandomizePositionX { get; set; }
Property Value
- bool
RandomizePositionY
If true, the Y position of each child will be randomized.
public bool RandomizePositionY { get; set; }
Property Value
- bool
RandomizePositionZ
If true, the Z position of each child will be randomized.
public bool RandomizePositionZ { get; set; }
Property Value
- bool
RandomizeRotationX
If true, the X rotation of each child will be randomized.
public bool RandomizeRotationX { get; set; }
Property Value
- bool
RandomizeRotationY
If true, the Y rotation of each child will be randomized.
public bool RandomizeRotationY { get; set; }
Property Value
- bool
RandomizeRotationZ
If true, the Z rotation of each child will be randomized.
public bool RandomizeRotationZ { get; set; }
Property Value
- bool
RandomSeed
Seed value used to determine random values. This ensures results the remain consistent each time layout is computed.
public int RandomSeed { get; set; }
Property Value
- int
RotationMaxX
Maximum X rotation value.
public float RotationMaxX { get; set; }
Property Value
- float
RotationMaxY
Maximum Y rotation value.
public float RotationMaxY { get; set; }
Property Value
- float
RotationMaxZ
Maximum Z rotation value.
public float RotationMaxZ { get; set; }
Property Value
- float
RotationMinX
Minimum X rotation value.
public float RotationMinX { get; set; }
Property Value
- float
RotationMinY
Minimum Y rotation value.
public float RotationMinY { get; set; }
Property Value
- float
RotationMinZ
Minimum Z rotation value.
public float RotationMinZ { get; set; }
Property Value
- float
Methods
PostArrange(FlexalonNode)
Called after the node's children are arranged.
public void PostArrange(FlexalonNode node)
Parameters
nodeFlexalonNode
ResetProperties()
Called when the component is destroyed to reset properties on the FlexalonNode.
protected override void ResetProperties()
UpdateProperties()
Called when the component is enabled to apply properties to the FlexalonNode.
protected override void UpdateProperties()