C# Class FSO.Vitaboy.Animator

An animator is used to animate an avatar.
Inheritance: FSO.Common.Rendering.Framework._3DComponent
ファイルを表示 Open project: RHY3756547/FreeSO Class Usage Examples

Protected Properties

Property Type Description
Animations List

Public Methods

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

Method Details

DeviceReset() public method

public DeviceReset ( Microsoft Device ) : void
Device Microsoft
return void

DisposeAnimation() public method

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

Draw() public method

public Draw ( Microsoft device ) : void
device Microsoft
return void

RenderFrame() public static method

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.
return AnimationStatus

RunAnimation() public method

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

Update() public method

public Update ( FSO state ) : void
state FSO
return void

Update() public method

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

Property Details

Animations protected_oe property

protected List Animations
return List