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
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
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