C# 클래스 OOGL.Animation.Model

A 3d model capable of skeletal animation Thread safety - This class must be only be used from the main thread.
파일 보기 프로젝트 열기: tpb3d/TPB3D 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
bones OOGL.Animation.Bone[]
groups OOGL.Animation.Group[]
samples OOGL.Animation.Sample[]
shader OOGL.Shaders.ShaderProgram
vertexTransformations Matrix4[]

공개 메소드들

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

메소드 상세

Draw() 공개 메소드

public Draw ( Controller controller, float elapsedTime, Matrix4 modelViewMatrix ) : void
controller Controller
elapsedTime float
modelViewMatrix Matrix4
리턴 void

FindSampleIndex() 공개 메소드

public FindSampleIndex ( string name ) : int
name string
리턴 int

Model() 공개 메소드

public Model ( ShaderProgram shader, Group groups, Bone bones, Sample samples ) : System
shader OOGL.Shaders.ShaderProgram
groups Group
bones Bone
samples Sample
리턴 System

UpdateBoneTransformations() 공개 메소드

public UpdateBoneTransformations ( Track tracks ) : void
tracks Track
리턴 void

프로퍼티 상세

bones 공개적으로 프로퍼티

public Bone[],OOGL.Animation bones
리턴 OOGL.Animation.Bone[]

groups 공개적으로 프로퍼티

public Group[],OOGL.Animation groups
리턴 OOGL.Animation.Group[]

samples 공개적으로 프로퍼티

public Sample[],OOGL.Animation samples
리턴 OOGL.Animation.Sample[]

shader 공개적으로 프로퍼티

public ShaderProgram,OOGL.Shaders shader
리턴 OOGL.Shaders.ShaderProgram

vertexTransformations 공개적으로 프로퍼티

public Matrix4[] vertexTransformations
리턴 Matrix4[]