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
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
GroupNamePrefix
Declaration
public string GroupNamePrefix
Field Value
OpenStreamF
Declaration
public Func<string, Stream> OpenStreamF
Field Value
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
Write(BinaryWriter, List<WriteMesh>, WriteOptions)
Declaration
public IOWriteResult Write(BinaryWriter writer, List<WriteMesh> vMeshes, WriteOptions options)
Parameters
Returns
Write(TextWriter, List<WriteMesh>, WriteOptions)
Declaration
public IOWriteResult Write(TextWriter writer, List<WriteMesh> vMeshes, WriteOptions options)
Parameters
Returns
Implements