C# Class FSO.Vitaboy.Mesh

3D Mesh.
Inheritance: I3DGeometry
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
BlendData FSO.Vitaboy.BlendData[]
BoneBindings FSO.Vitaboy.BoneBinding[]
VertexBuffer FSO.Vitaboy.Model.VitaboyVertex[]

Protected Properties

Свойство Type Description
IndexBuffer short[]
NumPrimitives int

Méthodes publiques

Méthode 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 méthode

Clones this mesh.
public Clone ( ) : Mesh
Résultat Mesh

Draw() public méthode

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

DrawGeometry() public méthode

public DrawGeometry ( GraphicsDevice gd ) : void
gd GraphicsDevice
Résultat void

InvalidateMesh() public méthode

public InvalidateMesh ( ) : void
Résultat void

Mesh() public méthode

public Mesh ( ) : System
Résultat System

Prepare() public méthode

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.
Résultat void

Read() public méthode

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

StoreOnGPU() public méthode

public StoreOnGPU ( GraphicsDevice device ) : void
device GraphicsDevice
Résultat void

Property Details

BlendData public_oe property

public BlendData[],FSO.Vitaboy BlendData
Résultat FSO.Vitaboy.BlendData[]

BoneBindings public_oe property

public BoneBinding[],FSO.Vitaboy BoneBindings
Résultat FSO.Vitaboy.BoneBinding[]

IndexBuffer protected_oe property

protected short[] IndexBuffer
Résultat short[]

NumPrimitives protected_oe property

protected int NumPrimitives
Résultat int

VertexBuffer public_oe property

public VitaboyVertex[],FSO.Vitaboy.Model VertexBuffer
Résultat FSO.Vitaboy.Model.VitaboyVertex[]