C# 클래스 Ms3dLoader.File

파일 보기 프로젝트 열기: tpb3d/TPB3D

공개 프로퍼티들

프로퍼티 타입 설명
animationFPS float
currentTime float
fileName string
groupComments Ms3dLoader.Comment[]
groups Ms3dLoader.Group[]
header Header
jointComments Ms3dLoader.Comment[]
joints Ms3dLoader.Joint[]
materialComments Ms3dLoader.Comment[]
materials Ms3dLoader.Material[]
modelComments Ms3dLoader.Comment[]
totalFrames int
triangles Ms3dLoader.Triangle[]
vertices Ms3dLoader.Vertex[]

공개 메소드들

메소드 설명
File ( string fileName ) : System
GetVertices ( int groupIndex, ushort &indices ) : OOGL.Animation.VertexStruct[]
ToModel ( ShaderProgram shader, OOGL tracks ) : OOGL.Animation.Model

비공개 메소드들

메소드 설명
AddChildBones ( string parentName, OOGL parentBone, OOGL bones ) : void
ReadComments ( BinaryReader r, int count ) : Ms3dLoader.Comment[]
ToVertexStruct ( int triangleIndex, int cornerIndex ) : OOGL.Animation.VertexStruct

메소드 상세

File() 공개 메소드

public File ( string fileName ) : System
fileName string
리턴 System

GetVertices() 공개 메소드

public GetVertices ( int groupIndex, ushort &indices ) : OOGL.Animation.VertexStruct[]
groupIndex int
indices ushort
리턴 OOGL.Animation.VertexStruct[]

ToModel() 공개 메소드

public ToModel ( ShaderProgram shader, OOGL tracks ) : OOGL.Animation.Model
shader OOGL.Shaders.ShaderProgram
tracks OOGL
리턴 OOGL.Animation.Model

프로퍼티 상세

animationFPS 공개적으로 프로퍼티

public float animationFPS
리턴 float

currentTime 공개적으로 프로퍼티

public float currentTime
리턴 float

fileName 공개적으로 프로퍼티

public string fileName
리턴 string

groupComments 공개적으로 프로퍼티

public Comment[],Ms3dLoader groupComments
리턴 Ms3dLoader.Comment[]

groups 공개적으로 프로퍼티

public Group[],Ms3dLoader groups
리턴 Ms3dLoader.Group[]

header 공개적으로 프로퍼티

public Header,Ms3dLoader header
리턴 Header

jointComments 공개적으로 프로퍼티

public Comment[],Ms3dLoader jointComments
리턴 Ms3dLoader.Comment[]

joints 공개적으로 프로퍼티

public Joint[],Ms3dLoader joints
리턴 Ms3dLoader.Joint[]

materialComments 공개적으로 프로퍼티

public Comment[],Ms3dLoader materialComments
리턴 Ms3dLoader.Comment[]

materials 공개적으로 프로퍼티

public Material[],Ms3dLoader materials
리턴 Ms3dLoader.Material[]

modelComments 공개적으로 프로퍼티

public Comment[],Ms3dLoader modelComments
리턴 Ms3dLoader.Comment[]

totalFrames 공개적으로 프로퍼티

public int totalFrames
리턴 int

triangles 공개적으로 프로퍼티

public Triangle[],Ms3dLoader triangles
리턴 Ms3dLoader.Triangle[]

vertices 공개적으로 프로퍼티

public Vertex[],Ms3dLoader vertices
리턴 Ms3dLoader.Vertex[]