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/api/Animancer/ITransitionDetailed" Type-.->Interface1["ITransitionWithEvents"] click Interface1 "/animancer/api/Animancer/ITransitionWithEvents" Type-.->Interface2["IHasEvents"] click Interface2 "/animancer/api/Animancer/IHasEvents" Type-.->Interface3["IAnimationClipCollection"] click Interface3 "/animancer/api/Animancer/IAnimationClipCollection" Type-.->Interface4["ControllerState.ITransition"] click Interface4 "/animancer/api/Animancer/ITransition" Type-.->Interface5["ITransition<ControllerState>"] Type-.->Interface6["ITransition"] click Interface6 "/animancer/api/Animancer/ITransition" Type-.->Interface7["IHasKey"] click Interface7 "/animancer/api/Animancer/IHasKey" Type-.->Interface8["IPolymorphic"] click Interface8 "/animancer/api/Animancer/IPolymorphic" Type["ControllerTransition"] class Type type-node

Syntax

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

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
CreateState() ControllerState
Creates and returns a new TState.

Operators

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