Repository navigation
AnimationNodeStateMachineTransition
Home | API by Category | Complete API Index | API Status
| Field | Value |
|---|---|
| Full name | Electron2D.AnimationNodeStateMachineTransition |
| Namespace | Electron2D |
| Kind | class |
| Category | API Scene |
A borrowed state-machine edge policy with typed conditions and optional unit fade curve.
public sealed class Electron2D.AnimationNodeStateMachineTransitionCondition keys are declared on each owning machine. The predicate receives the current tree; captured state and callback allocations remain caller-owned. Changes invalidate attached graphs.
Inherits: Resource
Kind: constructor
public AnimationNodeStateMachineTransition()Creates an enabled immediate edge with zero fade, reset enabled and priority one.
Kind: event
public event System.Action AdvanceConditionChangedOccurs after assigning the typed condition key, including an equal assignment.
CopyCustomStateTo(Electron2D.Resource, System.Boolean, Electron2D.DeepDuplicateMode, System.Func<Electron2D.Resource, Electron2D.Resource>, System.Func<Electron2D.Resource, Electron2D.Resource>)
Kind: method
protected override System.Void CopyCustomStateTo(Electron2D.Resource target, System.Boolean deep, Electron2D.DeepDuplicateMode mode, System.Func<Electron2D.Resource, Electron2D.Resource> duplicate, System.Func<Electron2D.Resource, Electron2D.Resource> force)Kind: method
protected override Electron2D.Resource CreateDuplicateInstance()Kind: method
protected override System.Void Dispose(System.Boolean disposing)Kind: method
protected override System.Collections.Generic.IEnumerable<Electron2D.PropertyDescriptor> GetPropertyDescriptors()Kind: property
public Electron2D.AnimationParameter<System.Boolean> AdvanceCondition { get; set; }Gets or sets the borrowed typed flag; null imposes no flag condition.
Initially null.
-
T:System.ObjectDisposedException: This resource or a supplied curve is disposed.
Kind: property
public System.Func<Electron2D.AnimationTree, System.Boolean> AdvanceExpression { get; set; }Gets or sets the executable predicate; null imposes no expression condition.
Initially null.
-
T:System.ObjectDisposedException: This resource or a supplied curve is disposed.
Kind: property
public Electron2D.AnimationAdvanceMode AdvanceMode { get; set; }Selects disabled, travel-enabled or automatic advancement.
Initially AnimationAdvanceMode.Enabled.
-
T:System.ObjectDisposedException: This resource or a supplied curve is disposed. -
T:System.ArgumentOutOfRangeException: The value is nonfinite, negative or an undefined enumeration.
Kind: property
public System.Boolean BreakLoopAtEnd { get; set; }Gets or sets whether AtEnd may leave a looping clip at its predicted cycle endpoint.
Initially false.
-
T:System.ObjectDisposedException: This resource or a supplied curve is disposed.
Kind: property
public System.Int32 Priority { get; set; }Gets or sets the nonnegative route-cost multiplier and automatic priority; smaller wins.
Initially 1.
-
T:System.ObjectDisposedException: This resource or a supplied curve is disposed. -
T:System.ArgumentOutOfRangeException: The value is nonfinite, negative or an undefined enumeration.
Kind: property
public System.Boolean Reset { get; set; }Gets or sets whether the destination timeline restarts when the edge activates.
Initially true.
-
T:System.ObjectDisposedException: This resource or a supplied curve is disposed.
Kind: property
public Electron2D.AnimationSwitchMode SwitchMode { get; set; }Selects immediate, synchronized or end-of-cycle switching.
Initially AnimationSwitchMode.Immediate.
-
T:System.ObjectDisposedException: This resource or a supplied curve is disposed. -
T:System.ArgumentOutOfRangeException: The value is nonfinite, negative or an undefined enumeration.
Kind: property
public Electron2D.Curve XFadeCurve { get; set; }Gets or sets the borrowed curve sampling the destination fade weight; null is linear.
Initially null.
-
T:System.ObjectDisposedException: This resource or a supplied curve is disposed.
Kind: property
public System.Double XFadeTime { get; set; }Gets or sets the nonnegative finite crossfade duration in seconds.
Initially 0.
-
T:System.ObjectDisposedException: This resource or a supplied curve is disposed. -
T:System.ArgumentOutOfRangeException: The value is nonfinite, negative or an undefined enumeration.