C# Class Indiefreaks.Xna.Rendering.Instancing.Skinned.SkinnedInstanceEntity

Represents one single instance of a mesh.
The World property can be used to move the instance. All other SunBurn properties aren't used
Inheritance: SceneEntity
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
PlayAnimation ( string name, bool looped ) : void
StopAnimation ( ) : void
Update ( GameTime gametime ) : void

Méthodes protégées

Méthode Description
SkinnedInstanceEntity ( string name, int index, InstancedSkinnedSceneObject sceneObject, Matrix transform ) : System

Creates a new instance of the InstanceEntity

Private Methods

Méthode Description
UpdateAnimation ( GameTime gameTime ) : void

Method Details

PlayAnimation() public méthode

public PlayAnimation ( string name, bool looped ) : void
name string
looped bool
Résultat void

SkinnedInstanceEntity() protected méthode

Creates a new instance of the InstanceEntity
protected SkinnedInstanceEntity ( string name, int index, InstancedSkinnedSceneObject sceneObject, Matrix transform ) : System
name string The name of the instance
index int The index used in the SceneObject.SkinBones array
sceneObject InstancedSkinnedSceneObject The SceneObject this instance pertains to
transform Matrix The matrix used to place the instance in the world
Résultat System

StopAnimation() public méthode

public StopAnimation ( ) : void
Résultat void

Update() public méthode

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