ObjSaveOptions

ObjSaveOptions class

Save options for wavefront obj file

Methods

constructor

NameDescription
constructor()Constructor of ObjSaveOptions

Result:


getApplyUnitScale

NameDescription
getApplyUnitScale()Apply AssetInfo.UnitScaleFactor to the mesh. Default value is false.

Result:


setApplyUnitScale

NameDescription
setApplyUnitScale(value)Apply AssetInfo.UnitScaleFactor to the mesh. Default value is false.

Result:


getPointCloud

NameDescription
getPointCloud()Gets or sets the flag whether the exporter should export the scene as point cloud(without topological structure), default value is false

Result:


setPointCloud

NameDescription
setPointCloud(value)Gets or sets the flag whether the exporter should export the scene as point cloud(without topological structure), default value is false

Result:


getVerbose

NameDescription
getVerbose()Gets or sets whether generate comments for each section

Result:


setVerbose

NameDescription
setVerbose(value)Gets or sets whether generate comments for each section

Result:


getSerializeW

NameDescription
getSerializeW()Gets or sets whether serialize W component in model’s vertex position.

Result:


setSerializeW

NameDescription
setSerializeW(value)Gets or sets whether serialize W component in model’s vertex position.

Result:


getEnableMaterials

NameDescription
getEnableMaterials()Gets or sets whether import/export materials for each object

Result:


setEnableMaterials

NameDescription
setEnableMaterials(value)Gets or sets whether import/export materials for each object

Result:


getFlipCoordinateSystem

NameDescription
getFlipCoordinateSystem()Gets or sets whether flip coordinate system of control points/normal during importing/exporting.

Result:


setFlipCoordinateSystem

NameDescription
setFlipCoordinateSystem(value)Gets or sets whether flip coordinate system of control points/normal during importing/exporting.

Result:


getExportTextures

NameDescription
getExportTextures()Try to copy textures used in scene to output directory.

Result:


setExportTextures

NameDescription
setExportTextures(value)Try to copy textures used in scene to output directory.

Result:


getFileFormat

NameDescription
getFileFormat()Gets the file format that specified in current Save/Load option.

Result:


getEncoding

NameDescription
getEncoding()Gets or sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Result:


getFileSystem

NameDescription
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.

Result:


setFileSystem

NameDescription
setFileSystem(value)Allow user to handle how to manage the external dependencies during load/save.

Result:


getLookupPaths

NameDescription
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Result:


getFileName

NameDescription
getFileName()The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result:


setFileName

NameDescription
setFileName(value)The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result: