C# 클래스 WaveEngine.Components.Animation.Animation3D

상속: AnimationBase
파일 보기 프로젝트 열기: WaveEngine/Components 1 사용 예제들

Private Properties

프로퍼티 타입 설명
RefreshAnimationAsset void
UpdateNumFrames void

공개 메소드들

메소드 설명
Animation3D ( ) : System

Initializes a new instance of the Animation3D class.

Animation3D ( string animationPath ) : System

Initializes a new instance of the Animation3D class.

Animation3D ( string name, string animationPath ) : System

Initializes a new instance of the Animation3D class.

GetDuration ( string animation ) : float

Gets the duration of an animation.

PlayAnimation ( string name, int startFrame, int endFrame, bool loop = true, bool backwards = false ) : void

Plays the animation.

Plays the animation between the specified frames.

ResumeAnimation ( ) : void

Plays the animation up to a given frame.

Resume the animation.

StopAnimation ( ) : void

Stops the animation.

보호된 메소드들

메소드 설명
DefaultValues ( ) : void

The default values

Initialize ( ) : void

Performs further custom initialization for this instance.

Update ( System.TimeSpan gameTime ) : void

Updates the animation.

비공개 메소드들

메소드 설명
RefreshAnimationAsset ( ) : void

Refresh animation asset

UpdateNumFrames ( ) : void

The update num frames.

메소드 상세

Animation3D() 공개 메소드

Initializes a new instance of the Animation3D class.
public Animation3D ( ) : System
리턴 System

Animation3D() 공개 메소드

Initializes a new instance of the Animation3D class.
public Animation3D ( string animationPath ) : System
animationPath string /// The path to the animation data. ///
리턴 System

Animation3D() 공개 메소드

Initializes a new instance of the Animation3D class.
public Animation3D ( string name, string animationPath ) : System
name string /// The name of this behavior. ///
animationPath string /// The path to the animation data. ///
리턴 System

DefaultValues() 보호된 메소드

The default values
protected DefaultValues ( ) : void
리턴 void

GetDuration() 공개 메소드

Gets the duration of an animation.
public GetDuration ( string animation ) : float
animation string /// The animation name. ///
리턴 float

Initialize() 보호된 메소드

Performs further custom initialization for this instance.
protected Initialize ( ) : void
리턴 void

PlayAnimation() 공개 메소드

Plays the animation. Plays the animation between the specified frames.
public PlayAnimation ( string name, int startFrame, int endFrame, bool loop = true, bool backwards = false ) : void
name string /////// The name of the animation. ///////
startFrame int /// The frame where the animation starts playing. ///
endFrame int /// The last frame of the animation to play. ///
loop bool /////// if set to true loop the animation. ///////
backwards bool /////// if set to true play the animation backwards. ///////
리턴 void

ResumeAnimation() 공개 메소드

Plays the animation up to a given frame. Resume the animation.
public ResumeAnimation ( ) : void
리턴 void

StopAnimation() 공개 메소드

Stops the animation.
public StopAnimation ( ) : void
리턴 void

Update() 보호된 메소드

Updates the animation.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan /// The game time. ///
리턴 void