C# Класс 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
Наследование: SceneEntity
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PlayAnimation ( string name, bool looped ) : void
StopAnimation ( ) : void
Update ( GameTime gametime ) : void

Защищенные методы

Метод Описание
SkinnedInstanceEntity ( string name, int index, InstancedSkinnedSceneObject sceneObject, Matrix transform ) : System

Creates a new instance of the InstanceEntity

Приватные методы

Метод Описание
UpdateAnimation ( GameTime gameTime ) : void

Описание методов

PlayAnimation() публичный Метод

public PlayAnimation ( string name, bool looped ) : void
name string
looped bool
Результат void

SkinnedInstanceEntity() защищенный Метод

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
Результат System

StopAnimation() публичный Метод

public StopAnimation ( ) : void
Результат void

Update() публичный Метод

public Update ( GameTime gametime ) : void
gametime Microsoft.Xna.Framework.GameTime
Результат void