C# Class OOGL.Animation.Model

A 3d model capable of skeletal animation Thread safety - This class must be only be used from the main thread.
Afficher le fichier Open project: tpb3d/TPB3D Class Usage Examples

Méthodes publiques

Свойство Type Description
bones OOGL.Animation.Bone[]
groups OOGL.Animation.Group[]
samples OOGL.Animation.Sample[]
shader OOGL.Shaders.ShaderProgram
vertexTransformations Matrix4[]

Méthodes publiques

Méthode Description
Draw ( Controller controller, float elapsedTime, Matrix4 modelViewMatrix ) : void
FindSampleIndex ( string name ) : int
Model ( ShaderProgram shader, Group groups, Bone bones, Sample samples ) : System
UpdateBoneTransformations ( Track tracks ) : void

Method Details

Draw() public méthode

public Draw ( Controller controller, float elapsedTime, Matrix4 modelViewMatrix ) : void
controller Controller
elapsedTime float
modelViewMatrix Matrix4
Résultat void

FindSampleIndex() public méthode

public FindSampleIndex ( string name ) : int
name string
Résultat int

Model() public méthode

public Model ( ShaderProgram shader, Group groups, Bone bones, Sample samples ) : System
shader OOGL.Shaders.ShaderProgram
groups Group
bones Bone
samples Sample
Résultat System

UpdateBoneTransformations() public méthode

public UpdateBoneTransformations ( Track tracks ) : void
tracks Track
Résultat void

Property Details

bones public_oe property

public Bone[],OOGL.Animation bones
Résultat OOGL.Animation.Bone[]

groups public_oe property

public Group[],OOGL.Animation groups
Résultat OOGL.Animation.Group[]

samples public_oe property

public Sample[],OOGL.Animation samples
Résultat OOGL.Animation.Sample[]

shader public_oe property

public ShaderProgram,OOGL.Shaders shader
Résultat OOGL.Shaders.ShaderProgram

vertexTransformations public_oe property

public Matrix4[] vertexTransformations
Résultat Matrix4[]