C# Class FSO.Vitaboy.Animator

An animator is used to animate an avatar.
Inheritance: FSO.Common.Rendering.Framework._3DComponent
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Protected Properties

Свойство Type Description
Animations List

Méthodes publiques

Méthode 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 méthode

public DeviceReset ( Microsoft Device ) : void
Device Microsoft
Résultat void

DisposeAnimation() public méthode

Disposes an animation.
public DisposeAnimation ( AnimationHandle animation ) : void
animation AnimationHandle The animation to dispose.
Résultat void

Draw() public méthode

public Draw ( Microsoft device ) : void
device Microsoft
Résultat void

RenderFrame() public static méthode

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.
Résultat AnimationStatus

RunAnimation() public méthode

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

Update() public méthode

public Update ( FSO state ) : void
state FSO
Résultat void

Update() public méthode

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

Animations protected_oe property

protected List Animations
Résultat List