C# Class Reign.Video.Abstraction.Mesh

Inheritance: DisposableResource
Mostrar archivo Open project: reignstudios/ReignSDK Class Usage Examples

Public Properties

Property Type Description
Material MaterialI

Public Methods

Method Description
Draw ( ) : void
Enable ( ObjectMesh objectMesh ) : void
Mesh ( BinaryReader reader, Model model, int classicInstanceCount ) : System
Write ( BinaryWriter writer, SoftwareModel softwareModel, SoftwareMesh softwareMesh, bool loadColors, bool loadUVs, bool loadNormals ) : void

Private Methods

Method Description
initData ( SoftwareMesh softwareMesh, bool loadColors, bool loadUVs, bool loadNormals, List &elements, float &vertices, int &indices ) : void

Method Details

Draw() public method

public Draw ( ) : void
return void

Enable() public method

public Enable ( ObjectMesh objectMesh ) : void
objectMesh ObjectMesh
return void

Mesh() public method

public Mesh ( BinaryReader reader, Model model, int classicInstanceCount ) : System
reader System.IO.BinaryReader
model Model
classicInstanceCount int
return System

Write() public static method

public static Write ( BinaryWriter writer, SoftwareModel softwareModel, SoftwareMesh softwareMesh, bool loadColors, bool loadUVs, bool loadNormals ) : void
writer System.IO.BinaryWriter
softwareModel SoftwareModel
softwareMesh SoftwareMesh
loadColors bool
loadUVs bool
loadNormals bool
return void

Property Details

Material public_oe property

public MaterialI Material
return MaterialI