C# Class OOGL.Animation.Group

The Group class hold material information for similiar vertexes. Thread safety - This class must be only be used from the main thread.
显示文件 Open project: tpb3d/TPB3D Class Usage Examples

Public Properties

Property Type Description
indices ushort[]
material Material
name string
vertexBuffer VertexBuffer
vertices VertexStruct[]

Public Methods

Method Description
Group ( string name, Material material, VertexStruct vertices, ushort indices ) : System
LoadMaterials ( ) : void

Method Details

Group() public method

public Group ( string name, Material material, VertexStruct vertices, ushort indices ) : System
name string
material Material
vertices VertexStruct
indices ushort
return System

LoadMaterials() public method

public LoadMaterials ( ) : void
return void

Property Details

indices public_oe property

public ushort[] indices
return ushort[]

material public_oe property

public Material,OOGL.Animation material
return Material

name public_oe property

public string name
return string

vertexBuffer public_oe property

public VertexBuffer,OOGL.Animation vertexBuffer
return VertexBuffer

vertices public_oe property

public VertexStruct[] vertices
return VertexStruct[]