C# Class UnityEngine.Animation

Inheritance: Behaviour, IEnumerable
Show file Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method 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

Method 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 method

public AddClip ( AnimationClip clip, string newName ) : void
clip AnimationClip
newName string
return void

AddClip() public method

public AddClip ( AnimationClip clip, string newName, int firstFrame, int lastFrame ) : void
clip AnimationClip
newName string
firstFrame int
lastFrame int
return void

AddClip() public method

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

Animation() public method

public Animation ( )

Blend() public method

public Blend ( string animation ) : void
animation string
return void

Blend() public method

public Blend ( string animation, float targetWeight ) : void
animation string
targetWeight float
return void

Blend() public method

public Blend ( string animation, float targetWeight, float fadeLength ) : void
animation string
targetWeight float
fadeLength float
return void

CrossFade() public method

public CrossFade ( string animation ) : void
animation string
return void

CrossFade() public method

public CrossFade ( string animation, float fadeLength ) : void
animation string
fadeLength float
return void

CrossFade() public method

public CrossFade ( string animation, float fadeLength, PlayMode mode ) : void
animation string
fadeLength float
mode PlayMode
return void

CrossFadeQueued() public method

public CrossFadeQueued ( string animation ) : AnimationState
animation string
return AnimationState

CrossFadeQueued() public method

public CrossFadeQueued ( string animation, float fadeLength ) : AnimationState
animation string
fadeLength float
return AnimationState

CrossFadeQueued() public method

public CrossFadeQueued ( string animation, float fadeLength, QueueMode queue ) : AnimationState
animation string
fadeLength float
queue QueueMode
return AnimationState

CrossFadeQueued() public method

public CrossFadeQueued ( string animation, float fadeLength, QueueMode queue, PlayMode mode ) : AnimationState
animation string
fadeLength float
queue QueueMode
mode PlayMode
return AnimationState

GetClip() public method

public GetClip ( string name ) : AnimationClip
name string
return AnimationClip

GetClipCount() public method

public GetClipCount ( ) : int
return int

GetEnumerator() public final method

public final GetEnumerator ( ) : IEnumerator
return IEnumerator

IsPlaying() public method

public IsPlaying ( string name ) : bool
name string
return bool

Play() public method

public Play ( ) : bool
return bool

Play() public method

public Play ( AnimationPlayMode mode ) : bool
mode AnimationPlayMode
return bool

Play() public method

public Play ( PlayMode mode ) : bool
mode PlayMode
return bool

Play() public method

public Play ( [ mode ) : bool
mode [
return bool

Play() public method

public Play ( string animation ) : bool
animation string
return bool

Play() public method

public Play ( string animation, AnimationPlayMode mode ) : bool
animation string
mode AnimationPlayMode
return bool

Play() public method

public Play ( string animation, PlayMode mode ) : bool
animation string
mode PlayMode
return bool

PlayQueued() public method

public PlayQueued ( string animation ) : AnimationState
animation string
return AnimationState

PlayQueued() public method

public PlayQueued ( string animation, QueueMode queue ) : AnimationState
animation string
queue QueueMode
return AnimationState

PlayQueued() public method

public PlayQueued ( string animation, QueueMode queue, PlayMode mode ) : AnimationState
animation string
queue QueueMode
mode PlayMode
return AnimationState

RemoveClip() public method

public RemoveClip ( AnimationClip clip ) : void
clip AnimationClip
return void

RemoveClip() public method

public RemoveClip ( string clipName ) : void
clipName string
return void

Rewind() public method

public Rewind ( ) : void
return void

Rewind() public method

public Rewind ( string name ) : void
name string
return void

Sample() public method

public Sample ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Stop() public method

public Stop ( string name ) : void
name string
return void

SyncLayer() public method

public SyncLayer ( int layer ) : void
layer int
return void

this() public method

public this ( string name ) : AnimationState
name string
return AnimationState