C# Class FSO.Vitaboy.Mesh

3D Mesh.
Inheritance: I3DGeometry
Datei anzeigen Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
BlendData FSO.Vitaboy.BlendData[]
BoneBindings FSO.Vitaboy.BoneBinding[]
VertexBuffer FSO.Vitaboy.Model.VitaboyVertex[]

Protected Properties

Property Type Description
IndexBuffer short[]
NumPrimitives int

Public Methods

Method Description
Clone ( ) : Mesh

Clones this mesh.

Draw ( GraphicsDevice gd ) : void

Draws this mesh.

DrawGeometry ( GraphicsDevice gd ) : void
InvalidateMesh ( ) : void
Mesh ( ) : System
Prepare ( Bone bone ) : void

Transforms the verticies making up this mesh into the designated bone positions.

Read ( Stream stream ) : void

Reads a mesh from a stream.

StoreOnGPU ( GraphicsDevice device ) : void

Method Details

Clone() public method

Clones this mesh.
public Clone ( ) : Mesh
return Mesh

Draw() public method

Draws this mesh.
public Draw ( GraphicsDevice gd ) : void
gd GraphicsDevice A GraphicsDevice instance used for drawing.
return void

DrawGeometry() public method

public DrawGeometry ( GraphicsDevice gd ) : void
gd GraphicsDevice
return void

InvalidateMesh() public method

public InvalidateMesh ( ) : void
return void

Mesh() public method

public Mesh ( ) : System
return System

Prepare() public method

Transforms the verticies making up this mesh into the designated bone positions.
public Prepare ( Bone bone ) : void
bone Bone The bone to start with. Should always be the ROOT bone.
return void

Read() public method

Reads a mesh from a stream.
public Read ( Stream stream ) : void
stream Stream A Stream instance holding a mesh.
return void

StoreOnGPU() public method

public StoreOnGPU ( GraphicsDevice device ) : void
device GraphicsDevice
return void

Property Details

BlendData public_oe property

public BlendData[],FSO.Vitaboy BlendData
return FSO.Vitaboy.BlendData[]

BoneBindings public_oe property

public BoneBinding[],FSO.Vitaboy BoneBindings
return FSO.Vitaboy.BoneBinding[]

IndexBuffer protected_oe property

protected short[] IndexBuffer
return short[]

NumPrimitives protected_oe property

protected int NumPrimitives
return int

VertexBuffer public_oe property

public VitaboyVertex[],FSO.Vitaboy.Model VertexBuffer
return FSO.Vitaboy.Model.VitaboyVertex[]