C# 클래스 FSO.Vitaboy.Animator

An animator is used to animate an avatar.
상속: FSO.Common.Rendering.Framework._3DComponent
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Animations List

공개 메소드들

메소드 설명
DeviceReset ( Microsoft Device ) : void
DisposeAnimation ( AnimationHandle animation ) : void

Disposes an animation.

Draw ( Microsoft device ) : void
RenderFrame ( Avatar avatar, Animation animation, int frame, float fraction, float weight ) : AnimationStatus

Renders an animation's frame.

RunAnimation ( Avatar avatar, Animation animation ) : AnimationHandle

Runs an animation.

Update ( FSO state ) : void
Update ( GameTime time ) : void

메소드 상세

DeviceReset() 공개 메소드

public DeviceReset ( Microsoft Device ) : void
Device Microsoft
리턴 void

DisposeAnimation() 공개 메소드

Disposes an animation.
public DisposeAnimation ( AnimationHandle animation ) : void
animation AnimationHandle The animation to dispose.
리턴 void

Draw() 공개 메소드

public Draw ( Microsoft device ) : void
device Microsoft
리턴 void

RenderFrame() 공개 정적인 메소드

Renders an animation's frame.
public static RenderFrame ( Avatar avatar, Animation animation, int frame, float fraction, float weight ) : AnimationStatus
avatar Avatar The avatar which the animation is run for.
animation Animation The animation.
frame int Frame number in animation.
fraction float
weight float The amount to apply this animation to the skeleton.
리턴 AnimationStatus

RunAnimation() 공개 메소드

Runs an animation.
public RunAnimation ( Avatar avatar, Animation animation ) : AnimationHandle
avatar Avatar The avatar to run animation for.
animation Animation The animation to run.
리턴 AnimationHandle

Update() 공개 메소드

public Update ( FSO state ) : void
state FSO
리턴 void

Update() 공개 메소드

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

Animations 보호되어 있는 프로퍼티

protected List Animations
리턴 List