Method | Description | |
---|---|---|
GetCompressedStreamIfRequired ( Stream amfStream ) : Stream | ||
GetEstimatedMemoryUse ( string fileLocation ) : long | ||
Load ( Stream fileStream, CancellationToken cancellationToken, Action reportProgress = null ) : IObject3D | ||
Load ( string amfPath, CancellationToken cancellationToken, Action reportProgress = null ) : IObject3D | ||
Save ( IObject3D itemToSave, Stream stream, MeshOutputSettings outputInfo ) : bool | ||
Save ( IObject3D item, string fileName, MeshOutputSettings outputInfo = null ) : bool |
Writes the mesh to disk in a zip container
|
|
SaveUncompressed ( IObject3D item, string fileName, MeshOutputSettings outputInfo = null ) : bool |
Method | Description | |
---|---|---|
BreakInDebugger ( string description = "" ) : void | ||
Indent ( int index ) : string | ||
IsZipFile ( Stream fs ) : bool | ||
ReadAllVertices ( XmlReader reader, ProgressData progressData ) : List |
||
ReadMaterial ( XmlReader reader, Dictionary materials ) : void | ||
ReadVolume ( XmlReader reader, List vertices, Mesh mesh, ProgressData progressData, string &material ) : List |
public static GetCompressedStreamIfRequired ( Stream amfStream ) : Stream | ||
amfStream | Stream | |
return | Stream |
public static GetEstimatedMemoryUse ( string fileLocation ) : long | ||
fileLocation | string | |
return | long |
public static Load ( Stream fileStream, CancellationToken cancellationToken, Action reportProgress = null ) : IObject3D | ||
fileStream | Stream | |
cancellationToken | CancellationToken | |
reportProgress | Action | |
return | IObject3D |
public static Load ( string amfPath, CancellationToken cancellationToken, Action reportProgress = null ) : IObject3D | ||
amfPath | string | |
cancellationToken | CancellationToken | |
reportProgress | Action | |
return | IObject3D |
public static Save ( IObject3D itemToSave, Stream stream, MeshOutputSettings outputInfo ) : bool | ||
itemToSave | IObject3D | |
stream | Stream | |
outputInfo | MeshOutputSettings | |
return | bool |
public static Save ( IObject3D item, string fileName, MeshOutputSettings outputInfo = null ) : bool | ||
item | IObject3D | |
fileName | string | The file path to save at |
outputInfo | MeshOutputSettings | Extra meta data to store in the file |
return | bool |
public static SaveUncompressed ( IObject3D item, string fileName, MeshOutputSettings outputInfo = null ) : bool | ||
item | IObject3D | |
fileName | string | |
outputInfo | MeshOutputSettings | |
return | bool |