C# Class UnityEngine.Animation

Inheritance: Behaviour, IEnumerable
Afficher le fichier Open project: randomize/VimConfig Class Usage Examples

Méthodes publiques

Méthode Description
AddClip ( AnimationClip clip, string newName ) : void
AddClip ( AnimationClip clip, string newName, int firstFrame, int lastFrame ) : void
AddClip ( AnimationClip clip, string newName, int firstFrame, int lastFrame, bool addLoopFrame ) : void
Animation ( )
Blend ( string animation ) : void
Blend ( string animation, float targetWeight ) : void
Blend ( string animation, float targetWeight, float fadeLength ) : void
CrossFade ( string animation ) : void
CrossFade ( string animation, float fadeLength ) : void
CrossFade ( string animation, float fadeLength, PlayMode mode ) : void
CrossFadeQueued ( string animation ) : AnimationState
CrossFadeQueued ( string animation, float fadeLength ) : AnimationState
CrossFadeQueued ( string animation, float fadeLength, QueueMode queue ) : AnimationState
CrossFadeQueued ( string animation, float fadeLength, QueueMode queue, PlayMode mode ) : AnimationState
GetClip ( string name ) : AnimationClip
GetClipCount ( ) : int
GetEnumerator ( ) : IEnumerator
IsPlaying ( string name ) : bool
Play ( ) : bool
Play ( AnimationPlayMode mode ) : bool
Play ( PlayMode mode ) : bool
Play ( [ mode ) : bool
Play ( string animation ) : bool
Play ( string animation, AnimationPlayMode mode ) : bool
Play ( string animation, PlayMode mode ) : bool
PlayQueued ( string animation ) : AnimationState
PlayQueued ( string animation, QueueMode queue ) : AnimationState
PlayQueued ( string animation, QueueMode queue, PlayMode mode ) : AnimationState
RemoveClip ( AnimationClip clip ) : void
RemoveClip ( string clipName ) : void
Rewind ( ) : void
Rewind ( string name ) : void
Sample ( ) : void
Stop ( ) : void
Stop ( string name ) : void
SyncLayer ( int layer ) : void
this ( string name ) : AnimationState

Private Methods

Méthode Description
AddClip ( AnimationClip clip, string newName, int firstFrame, int lastFrame, [ addLoopFrame ) : void
Blend ( string animation, [ targetWeight, [ fadeLength ) : void
CrossFade ( string animation, [ fadeLength, [ mode ) : void
CrossFadeQueued ( string animation, [ fadeLength, [ queue, [ mode ) : AnimationState
GetState ( string name ) : AnimationState
GetStateAtIndex ( int index ) : AnimationState
GetStateCount ( ) : int
INTERNAL_CALL_Rewind ( Animation self ) : void
INTERNAL_CALL_Sample ( Animation self ) : void
INTERNAL_CALL_Stop ( Animation self ) : void
INTERNAL_CALL_SyncLayer ( Animation self, int layer ) : void
INTERNAL_get_localBounds ( Bounds &value ) : void
INTERNAL_set_localBounds ( Bounds &value ) : void
Internal_RewindByName ( string name ) : void
Internal_StopByName ( string name ) : void
Play ( string animation, [ mode ) : bool
PlayDefaultAnimation ( PlayMode mode ) : bool
PlayQueued ( string animation, [ queue, [ mode ) : AnimationState
RemoveClip2 ( string clipName ) : void

Method Details

AddClip() public méthode

public AddClip ( AnimationClip clip, string newName ) : void
clip AnimationClip
newName string
Résultat void

AddClip() public méthode

public AddClip ( AnimationClip clip, string newName, int firstFrame, int lastFrame ) : void
clip AnimationClip
newName string
firstFrame int
lastFrame int
Résultat void

AddClip() public méthode

public AddClip ( AnimationClip clip, string newName, int firstFrame, int lastFrame, bool addLoopFrame ) : void
clip AnimationClip
newName string
firstFrame int
lastFrame int
addLoopFrame bool
Résultat void

Animation() public méthode

public Animation ( )

Blend() public méthode

public Blend ( string animation ) : void
animation string
Résultat void

Blend() public méthode

public Blend ( string animation, float targetWeight ) : void
animation string
targetWeight float
Résultat void

Blend() public méthode

public Blend ( string animation, float targetWeight, float fadeLength ) : void
animation string
targetWeight float
fadeLength float
Résultat void

CrossFade() public méthode

public CrossFade ( string animation ) : void
animation string
Résultat void

CrossFade() public méthode

public CrossFade ( string animation, float fadeLength ) : void
animation string
fadeLength float
Résultat void

CrossFade() public méthode

public CrossFade ( string animation, float fadeLength, PlayMode mode ) : void
animation string
fadeLength float
mode PlayMode
Résultat void

CrossFadeQueued() public méthode

public CrossFadeQueued ( string animation ) : AnimationState
animation string
Résultat AnimationState

CrossFadeQueued() public méthode

public CrossFadeQueued ( string animation, float fadeLength ) : AnimationState
animation string
fadeLength float
Résultat AnimationState

CrossFadeQueued() public méthode

public CrossFadeQueued ( string animation, float fadeLength, QueueMode queue ) : AnimationState
animation string
fadeLength float
queue QueueMode
Résultat AnimationState

CrossFadeQueued() public méthode

public CrossFadeQueued ( string animation, float fadeLength, QueueMode queue, PlayMode mode ) : AnimationState
animation string
fadeLength float
queue QueueMode
mode PlayMode
Résultat AnimationState

GetClip() public méthode

public GetClip ( string name ) : AnimationClip
name string
Résultat AnimationClip

GetClipCount() public méthode

public GetClipCount ( ) : int
Résultat int

GetEnumerator() public final méthode

public final GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

IsPlaying() public méthode

public IsPlaying ( string name ) : bool
name string
Résultat bool

Play() public méthode

public Play ( ) : bool
Résultat bool

Play() public méthode

public Play ( AnimationPlayMode mode ) : bool
mode AnimationPlayMode
Résultat bool

Play() public méthode

public Play ( PlayMode mode ) : bool
mode PlayMode
Résultat bool

Play() public méthode

public Play ( [ mode ) : bool
mode [
Résultat bool

Play() public méthode

public Play ( string animation ) : bool
animation string
Résultat bool

Play() public méthode

public Play ( string animation, AnimationPlayMode mode ) : bool
animation string
mode AnimationPlayMode
Résultat bool

Play() public méthode

public Play ( string animation, PlayMode mode ) : bool
animation string
mode PlayMode
Résultat bool

PlayQueued() public méthode

public PlayQueued ( string animation ) : AnimationState
animation string
Résultat AnimationState

PlayQueued() public méthode

public PlayQueued ( string animation, QueueMode queue ) : AnimationState
animation string
queue QueueMode
Résultat AnimationState

PlayQueued() public méthode

public PlayQueued ( string animation, QueueMode queue, PlayMode mode ) : AnimationState
animation string
queue QueueMode
mode PlayMode
Résultat AnimationState

RemoveClip() public méthode

public RemoveClip ( AnimationClip clip ) : void
clip AnimationClip
Résultat void

RemoveClip() public méthode

public RemoveClip ( string clipName ) : void
clipName string
Résultat void

Rewind() public méthode

public Rewind ( ) : void
Résultat void

Rewind() public méthode

public Rewind ( string name ) : void
name string
Résultat void

Sample() public méthode

public Sample ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Stop() public méthode

public Stop ( string name ) : void
name string
Résultat void

SyncLayer() public méthode

public SyncLayer ( int layer ) : void
layer int
Résultat void

this() public méthode

public this ( string name ) : AnimationState
name string
Résultat AnimationState