Class SimpleMeshBuilder
Inheritance
SimpleMeshBuilder
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class SimpleMeshBuilder : IMeshBuilder
Constructors
SimpleMeshBuilder()
Declaration
public SimpleMeshBuilder()
Fields
MaterialAssignment
Declaration
public List<int> MaterialAssignment
Field Value
Materials
Declaration
public List<GenericMaterial> Materials
Field Value
Meshes
Declaration
public List<SimpleMesh> Meshes
Field Value
Properties
Declaration
public bool SupportsMetaData { get; }
Property Value
Methods
Declaration
public void AppendMetaData(string identifier, object data)
Parameters
AppendNewMesh(DMesh3)
Declaration
public int AppendNewMesh(DMesh3 existingMesh)
Parameters
Type |
Name |
Description |
DMesh3 |
existingMesh |
|
Returns
AppendNewMesh(Boolean, Boolean, Boolean, Boolean)
Declaration
public int AppendNewMesh(bool bHaveVtxNormals, bool bHaveVtxColors, bool bHaveVtxUVs, bool bHaveFaceGroups)
Parameters
Returns
AppendTriangle(Int32, Int32, Int32)
Declaration
public int AppendTriangle(int i, int j, int k)
Parameters
Returns
AppendTriangle(Int32, Int32, Int32, Int32)
Declaration
public int AppendTriangle(int i, int j, int k, int g)
Parameters
Returns
AppendVertex(NewVertexInfo)
Declaration
public int AppendVertex(NewVertexInfo info)
Parameters
Returns
AppendVertex(Double, Double, Double)
Declaration
public int AppendVertex(double x, double y, double z)
Parameters
Returns
AssignMaterial(Int32, Int32)
Declaration
public void AssignMaterial(int materialID, int meshID)
Parameters
Type |
Name |
Description |
Int32 |
materialID |
|
Int32 |
meshID |
|
BuildMaterial(GenericMaterial)
Declaration
public int BuildMaterial(GenericMaterial m)
Parameters
Returns
SetActiveMesh(Int32)
Declaration
public void SetActiveMesh(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
SetVertexUV(Int32, Vector2f)
Declaration
public void SetVertexUV(int vID, Vector2f UV)
Parameters
Implements