ControllerTransition Class

Summary

A serializable Animancer.ITransition which can create a particular type of Animancer.AnimancerState when passed into Animancer.AnimancerPlayable.Play(Animancer.ITransition).
graph BT Type-->Base0["ControllerTransition<ControllerState>"] Base0-->Base1["AnimancerTransition<ControllerState>"] Base1-->Base2["Object"] Type-.->Interface0["ITransitionDetailed"] click Interface0 "/animancer-v7-4/api/Animancer/ITransitionDetailed" Type-.->Interface1["ITransitionWithEvents"] click Interface1 "/animancer-v7-4/api/Animancer/ITransitionWithEvents" Type-.->Interface2["IHasEvents"] click Interface2 "/animancer-v7-4/api/Animancer/IHasEvents" Type-.->Interface3["ICopyable<AnimancerTransition<ControllerState>>"] Type-.->Interface4["IAnimationClipCollection"] click Interface4 "/animancer-v7-4/api/Animancer/IAnimationClipCollection" Type-.->Interface5["ICopyable<ControllerTransition<ControllerState>>"] Type-.->Interface6["ControllerState.ITransition"] click Interface6 "/animancer-v7-4/api/Animancer/ITransition" Type-.->Interface7["ITransition<ControllerState>"] Type-.->Interface8["ITransition"] click Interface8 "/animancer-v7-4/api/Animancer/ITransition" Type-.->Interface9["IHasKey"] click Interface9 "/animancer-v7-4/api/Animancer/IHasKey" Type-.->Interface10["IPolymorphic"] click Interface10 "/animancer-v7-4/api/Animancer/IPolymorphic" Type-.->Interface11["ICopyable<ControllerTransition>"] Type["ControllerTransition"] class Type type-node

Syntax

[Serializable]
public class ControllerTransition : ControllerTransition<ControllerState>, ITransitionDetailed, 
    ITransitionWithEvents, IHasEvents, ICopyable<AnimancerTransition<ControllerState>>, 
    IAnimationClipCollection, ICopyable<ControllerTransition<ControllerState>>, 
    ControllerState.ITransition, ITransition<ControllerState>, ITransition, IHasKey, IPolymorphic, 
    ICopyable<ControllerTransition>

Remarks

Documentation: Transitions

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
ControllerTransition() Creates a new Animancer.ControllerTransition.
ControllerTransition(RuntimeAnimatorController) Creates a new Animancer.ControllerTransition with the specified Animator Controller.

Methods

Name Value Summary
CopyFrom(ControllerTransition) void
Copies the contents of `copyFrom` into this object, replacing its previous contents.
CreateState() ControllerState
Creates and returns a new TState.

Operators

Name Value Summary
implicit operator ControllerTransition(RuntimeAnimatorController) ControllerTransition
implicit operator RuntimeAnimatorController(ControllerTransition<ControllerState>) RuntimeAnimatorController