Summary
A group of
Animancer.ClipTransition
s which play one after the other.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Interfaces
- Base Types
-
- Object
- Transition
<ClipState> - ClipTransition
Syntax
[Serializable]
public class ClipTransitionSequence : ClipTransition, ITransition<ClipState>, ITransitionDetailed,
ITransition, IHasKey, IPolymorphic, IHasEvents, ICopyable<Transition<ClipState>>,
ICloneable<Transition<ClipState>>, IMotion, IAnimationClipCollection,
ICopyable<ClipTransition>, ICopyable<ClipTransitionSequence>
Remarks
Documentation:
Transitions
Attributes
Type | Description |
---|---|
Serializable |
Fields
Name | Constant Value | Summary |
---|---|---|
ClipFieldName | _Clip |
The name of the serialized backing field of
Animancer.ClipTransition.Clip .Inherited from ClipTransition
static
|
Properties
Name | Value | Summary |
---|---|---|
AverageAngularSpeed | float |
The initial
UnityEngine.Motion.averageAngularSpeed that the created state will have. |
AverageVelocity | Vector3 |
The initial
UnityEngine.Motion.averageSpeed that the created state will have. |
Clip | AnimationClip |
[
UnityEngine.SerializeField ] The animation to play.Inherited from ClipTransition
|
EndEvent | AnimancerEvent |
The
Animancer.AnimancerEvent.Sequence.EndEvent of the last transition in this sequence. |
FadeMode | FadeMode |
If this transition will set the
Animancer.AnimancerState.Time , then it needs to use
Animancer.FadeMode.FromStart .
Inherited from ClipTransition
|
IsLooping | bool |
Is the last animation in this sequence looping?
|
IsValid | bool |
Is everything in this sequence valid?
|
LastTransition | ClipTransition |
The last of the
Animancer.ClipTransitionSequence.Others (or this if there are none). |
Length | float |
The length of the
Animancer.ClipTransition.Clip (in seconds), accounting for the Animancer.ClipTransition.NormalizedStartTime and
Animancer.AnimancerEvent.Sequence.NormalizedEndTime (but not Speed ).
|
MainObject | Object |
The
Animancer.AnimancerState.MainObject that the created state will have.Inherited from ClipTransition
|
MaximumDuration | float | |
NormalizedStartTime | float |
The
Animancer.AnimancerState.NormalizedTime to start the animation at.Inherited from ClipTransition
|
OnEnd | Action |
The
Animancer.AnimancerEvent.Sequence.OnEnd of the last transition in this sequence. |
Others | ClipTransition[] |
[
UnityEngine.SerializeField ] The transitions to play in order after the first one. |
Methods
Name | Value | Summary |
---|---|---|
AddEvent |
void |
Adds an event at the specified time relative to the entire sequence.
|
Apply |
void |
Applies the details of this transition to the `state`.
Inherited from ClipTransition
|
Clone |
Transition |
|
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.
|
CopyFrom |
void |
Copies the contents of `copyFrom` into this object, replacing its previous contents.
Inherited from ClipTransition
|
CreateState |
ClipState | |
GatherAnimationClips |
void |
Adds the
Animancer.ClipTransition.Clip of everything in this sequence to the collection. |
Initialize |
void |
Initializes the End Events of each of the
Animancer.ClipTransitionSequence.Others to play the next one. |
TryCreateTransition |
ITransitionDetailed |
Returns a new
Animancer.ClipTransition
if the `target` is an UnityEngine.AnimationClip .
Inherited from ClipTransition
static
|
TryGetCumulativeTime |
bool |
Tries to calculate the
Animancer.AnimancerState.Time relative to the start of this sequence. |