Method | Description | |
---|---|---|
ExtractMesh ( MeshReader reader, |
Writes mesh data to the .obj.
|
|
Finish ( ) : void |
Finishes writing meshes out to the file.
|
|
ObjExtractor ( |
Initializes a new instance of the ObjExtractor class.
|
Method | Description | |
---|---|---|
DecompressVertices ( IEnumerable |
Decompresses vertex data in-place.
|
|
ReadDualQuatVertices ( IVertexStream reader, int count ) : List |
Reads dualquat vertices into a format-independent list.
|
|
ReadIndexes ( MeshReader reader, |
Reads the index buffer data and converts it into a triangle list if necessary.
|
|
ReadRigidVertices ( IVertexStream reader, int count ) : List |
Reads rigid vertices into a format-independent list.
|
|
ReadSkinnedVertices ( IVertexStream reader, int count ) : List |
Reads skinned vertices into a format-independent list.
|
|
ReadVertices ( MeshReader reader, Stream resourceStream ) : List |
Reads the vertex data for a mesh into a format-independent list.
|
|
WriteHeader ( ) : void |
Writes a header to the file.
|
|
WriteTriangles ( IReadOnlyList |
Queues triangle list data to be written out to the file.
|
|
WriteVertex ( ObjVertex vertex ) : void |
Writes a vertex out to the file.
|
|
WriteVertices ( IEnumerable |
Writes vertex data out to the file.
|
public ExtractMesh ( MeshReader reader, |
||
reader | MeshReader | The mesh reader to use. |
compressor | The vertex compressor to use. | |
resourceStream | Stream | A stream open on the resource data. |
return | void |
public ObjExtractor ( |
||
writer | The stream to write the output file to. | |
return | System |