C# Class Ms3dLoader.File

显示文件 Open project: tpb3d/TPB3D

Public Properties

Property Type Description
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[]

Public Methods

Method Description
File ( string fileName ) : System
GetVertices ( int groupIndex, ushort &indices ) : OOGL.Animation.VertexStruct[]
ToModel ( ShaderProgram shader, OOGL tracks ) : OOGL.Animation.Model

Private Methods

Method Description
AddChildBones ( string parentName, OOGL parentBone, OOGL bones ) : void
ReadComments ( BinaryReader r, int count ) : Ms3dLoader.Comment[]
ToVertexStruct ( int triangleIndex, int cornerIndex ) : OOGL.Animation.VertexStruct

Method Details

File() public method

public File ( string fileName ) : System
fileName string
return System

GetVertices() public method

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

ToModel() public method

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

Property Details

animationFPS public_oe property

public float animationFPS
return float

currentTime public_oe property

public float currentTime
return float

fileName public_oe property

public string fileName
return string

groupComments public_oe property

public Comment[],Ms3dLoader groupComments
return Ms3dLoader.Comment[]

groups public_oe property

public Group[],Ms3dLoader groups
return Ms3dLoader.Group[]

header public_oe property

public Header,Ms3dLoader header
return Header

jointComments public_oe property

public Comment[],Ms3dLoader jointComments
return Ms3dLoader.Comment[]

joints public_oe property

public Joint[],Ms3dLoader joints
return Ms3dLoader.Joint[]

materialComments public_oe property

public Comment[],Ms3dLoader materialComments
return Ms3dLoader.Comment[]

materials public_oe property

public Material[],Ms3dLoader materials
return Ms3dLoader.Material[]

modelComments public_oe property

public Comment[],Ms3dLoader modelComments
return Ms3dLoader.Comment[]

totalFrames public_oe property

public int totalFrames
return int

triangles public_oe property

public Triangle[],Ms3dLoader triangles
return Ms3dLoader.Triangle[]

vertices public_oe property

public Vertex[],Ms3dLoader vertices
return Ms3dLoader.Vertex[]