Search Results for

    Show / Hide Table of Contents

    Class OBJWriter

    gradientspace OBJ writer

    [TODO] if mesh has groups, usemtl lines will not be written (see TODO below) [TODO] options to preserve vertex and triangle indices

    Inheritance
    Object
    OBJWriter
    Implements
    IMeshWriter
    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 OBJWriter : IMeshWriter

    Fields

    CloseStreamF

    Declaration
    public Action<Stream> CloseStreamF
    Field Value
    Type Description
    Action<Stream>

    GroupNameF

    Declaration
    public Func<int, string> GroupNameF
    Field Value
    Type Description
    Func<Int32, String>

    GroupNamePrefix

    Declaration
    public string GroupNamePrefix
    Field Value
    Type Description
    String

    OpenStreamF

    Declaration
    public Func<string, Stream> OpenStreamF
    Field Value
    Type Description
    Func<String, Stream>

    Methods

    set_current_material(TextWriter, Int32, WriteMesh, ref Int32)

    Declaration
    public void set_current_material(TextWriter writer, int ti, WriteMesh mesh, ref int cur_material)
    Parameters
    Type Name Description
    TextWriter writer
    Int32 ti
    WriteMesh mesh
    Int32 cur_material

    Write(BinaryWriter, List<WriteMesh>, WriteOptions)

    Declaration
    public IOWriteResult Write(BinaryWriter writer, List<WriteMesh> vMeshes, WriteOptions options)
    Parameters
    Type Name Description
    BinaryWriter writer
    List<WriteMesh> vMeshes
    WriteOptions options
    Returns
    Type Description
    IOWriteResult

    Write(TextWriter, List<WriteMesh>, WriteOptions)

    Declaration
    public IOWriteResult Write(TextWriter writer, List<WriteMesh> vMeshes, WriteOptions options)
    Parameters
    Type Name Description
    TextWriter writer
    List<WriteMesh> vMeshes
    WriteOptions options
    Returns
    Type Description
    IOWriteResult

    Implements

    IMeshWriter
    In This Article
    Back to top ViRGIS VR GIS