Search Results for

    Show / Hide Table of Contents

    Class SimpleMeshBuilder

    Inheritance
    Object
    SimpleMeshBuilder
    Implements
    IMeshBuilder
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    Type Description
    List<Int32>

    Materials

    Declaration
    public List<GenericMaterial> Materials
    Field Value
    Type Description
    List<GenericMaterial>

    Meshes

    Declaration
    public List<SimpleMesh> Meshes
    Field Value
    Type Description
    List<SimpleMesh>

    Properties

    SupportsMetaData

    Declaration
    public bool SupportsMetaData { get; }
    Property Value
    Type Description
    Boolean

    Methods

    AppendMetaData(String, Object)

    Declaration
    public void AppendMetaData(string identifier, object data)
    Parameters
    Type Name Description
    String identifier
    Object data

    AppendNewMesh(DMesh3)

    Declaration
    public int AppendNewMesh(DMesh3 existingMesh)
    Parameters
    Type Name Description
    DMesh3 existingMesh
    Returns
    Type Description
    Int32

    AppendNewMesh(Boolean, Boolean, Boolean, Boolean)

    Declaration
    public int AppendNewMesh(bool bHaveVtxNormals, bool bHaveVtxColors, bool bHaveVtxUVs, bool bHaveFaceGroups)
    Parameters
    Type Name Description
    Boolean bHaveVtxNormals
    Boolean bHaveVtxColors
    Boolean bHaveVtxUVs
    Boolean bHaveFaceGroups
    Returns
    Type Description
    Int32

    AppendTriangle(Int32, Int32, Int32)

    Declaration
    public int AppendTriangle(int i, int j, int k)
    Parameters
    Type Name Description
    Int32 i
    Int32 j
    Int32 k
    Returns
    Type Description
    Int32

    AppendTriangle(Int32, Int32, Int32, Int32)

    Declaration
    public int AppendTriangle(int i, int j, int k, int g)
    Parameters
    Type Name Description
    Int32 i
    Int32 j
    Int32 k
    Int32 g
    Returns
    Type Description
    Int32

    AppendVertex(NewVertexInfo)

    Declaration
    public int AppendVertex(NewVertexInfo info)
    Parameters
    Type Name Description
    NewVertexInfo info
    Returns
    Type Description
    Int32

    AppendVertex(Double, Double, Double)

    Declaration
    public int AppendVertex(double x, double y, double z)
    Parameters
    Type Name Description
    Double x
    Double y
    Double z
    Returns
    Type Description
    Int32

    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
    Type Name Description
    GenericMaterial m
    Returns
    Type Description
    Int32

    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
    Type Name Description
    Int32 vID
    Vector2f UV

    Implements

    IMeshBuilder
    In This Article
    Back to top ViRGIS VR GIS