Summary
A serializable
Animancer.ITransition
which can create a particular type of
Animancer.AnimancerState
when passed into Animancer.AnimancerLayer.Play(Animancer.ITransition)
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Interfaces
- Base Types
-
- Object
- Transition
<PlayableAssetState>
graph BT
Type-->Base0["Transition<PlayableAssetState>"]
Base0-->Base1["Object"]
Type-.->Interface0["ITransition<PlayableAssetState>"]
Type-.->Interface1["ITransition"]
click Interface1 "/animancer/api/Animancer/ITransition"
Type-.->Interface2["IHasEvents"]
click Interface2 "/animancer/api/Animancer/IHasEvents"
Type-.->Interface3["IHasKey"]
click Interface3 "/animancer/api/Animancer/IHasKey"
Type-.->Interface4["IPolymorphic"]
click Interface4 "/animancer/api/Animancer/IPolymorphic"
Type-.->Interface5["ICopyable<Transition<PlayableAssetState>>"]
Type-.->Interface6["ICloneable<Transition<PlayableAssetState>>"]
Type-.->Interface7["IAnimationClipCollection"]
click Interface7 "/animancer/api/Animancer/IAnimationClipCollection"
Type-.->Interface8["ICopyable<PlayableAssetTransition>"]
Type["PlayableAssetTransition"]
class Type type-node
Syntax
[Serializable]
public class PlayableAssetTransition : Transition<PlayableAssetState>,
ITransition<PlayableAssetState>, ITransition, IHasEvents, IHasKey, IPolymorphic,
ICopyable<Transition<PlayableAssetState>>, ICloneable<Transition<PlayableAssetState>>,
IAnimationClipCollection, ICopyable<PlayableAssetTransition>
Remarks
Documentation:
Transitions
Attributes
Type | Description |
---|---|
Serializable |
Fields
Name | Constant Value | Summary |
---|---|---|
AssetField | _Asset |
The name of the serialized backing field of
Animancer.PlayableAssetTransition.Asset .static
|
BindingsField | _Bindings |
The name of the serialized backing field of
Animancer.PlayableAssetTransition.Bindings .static
|
Properties
Name | Value | Summary |
---|---|---|
Asset | PlayableAsset |
[
UnityEngine.SerializeField ] The asset to play. |
Bindings | Object[] |
[
UnityEngine.SerializeField ] The objects controlled by each of the tracks in the Asset. |
IsValid | bool |
Can this transition create a valid
Animancer.AnimancerState ? |
MainObject | Object |
The
Animancer.AnimancerState.MainObject that the created state will have. |
MaximumLength | float |
The maximum expected value of the
Animancer.AnimancerState.Length . |
NormalizedStartTime | float |
The
Animancer.AnimancerState.NormalizedTime to start the animation at. |
Methods
Name | Value | Summary |
---|---|---|
Apply |
void |
Applies the details of this transition to the `state`.
|
Clone |
Transition |
Creates a new object with the same type and values this.
|
CopyFrom |
void |
Copies the contents of `copyFrom` into this object, replacing its previous contents.
|
CopyFrom |
void |
Copies the contents of `copyFrom` into this object, replacing its previous contents.
|
CreateState |
PlayableAssetState |
Creates and returns a new TState.
|
TryCreateTransition |
ITransition |
Returns a new
Animancer.PlayableAssetTransition
if the `target` is an UnityEngine.Playables.PlayableAsset .
static
|