Class FlexalonStaggerSettings
- Namespace
- Flexalon
- Assembly
- Flexalon.dll
Controls how a Flexalon Animator Driver staggers its children's transitions.
[Serializable]
public class FlexalonStaggerSettings
- Inheritance
-
objectFlexalonStaggerSettings
Fields
Axis
The axis used by AlongAxis and AroundAxis modes.
[Tooltip("The axis children are ordered along or around.")]
public Vector3 Axis
Field Value
- Vector3
AxisWorldSpace
Whether Axis is in world space. Otherwise, it is in the driver's local space.
[Tooltip("Use a world-space axis. Otherwise, the axis is in this object's local space.")]
public bool AxisWorldSpace
Field Value
- bool
Point
The point used by AroundAxis and DistanceToPoint modes.
[Tooltip("The point children are ordered around or away from.")]
public Vector3 Point
Field Value
- Vector3
PointWorldSpace
Whether Point is in world space. Otherwise, it is in the driver's local space.
[Tooltip("Use a world-space point. Otherwise, the point is in this object's local space.")]
public bool PointWorldSpace
Field Value
- bool
Reverse
Play the stagger in the opposite order.
[Tooltip("Play the stagger in the opposite order.")]
public bool Reverse
Field Value
- bool
StartSiblingIndex
The child to start from in ChildOrder and AroundAxis modes. Earlier children follow the last child.
[Tooltip("The child to start from. Earlier children follow the last child.")]
public int StartSiblingIndex
Field Value
- int
SweepDuration
Seconds between the first and last child in AlongAxis, AroundAxis, and DistanceToPoint modes.
[Tooltip("Seconds from the first child's transition to the last.")]
public float SweepDuration
Field Value
- float
TimeBetweenChildren
Seconds between each child in ChildOrder mode, or between each StaggerOrder group in CustomOrder mode.
[FormerlySerializedAs("StaggerTime")]
[Tooltip("Seconds between each child's transition.")]
public float TimeBetweenChildren
Field Value
- float
Type
How children are ordered and delayed.
[Tooltip("How children are ordered: by sibling order, along an axis, around an axis, by distance from a point, or by each animator's Stagger Order.")]
public FlexalonStaggerType Type