public class ObjSaveOptions extends SaveOptions
| Constructor and Description |
|---|
ObjSaveOptions()
Constructor of
ObjSaveOptions |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getApplyUnitScale()
Apply
AssetInfo.getUnitScaleFactor() to the mesh. |
AxisSystem |
getAxisSystem()
Gets the axis system in the exported file.
|
boolean |
getEnableMaterials()
Gets whether import/export materials for each object
|
boolean |
getFlipCoordinateSystem()
Gets whether flip coordinate system of control points/normal during importing/exporting.
|
boolean |
getPointCloud()
Gets the flag whether the exporter should export the scene as point cloud(without topological structure), default value is false
|
boolean |
getSerializeW()
Gets whether serialize W component in model's vertex position.
|
boolean |
getVerbose()
Gets whether generate comments for each section
|
void |
setApplyUnitScale(boolean value)
Apply
AssetInfo.getUnitScaleFactor() to the mesh. |
void |
setAxisSystem(AxisSystem value)
Sets the axis system in the exported file.
|
void |
setEnableMaterials(boolean value)
Sets whether import/export materials for each object
|
void |
setFlipCoordinateSystem(boolean value)
Sets whether flip coordinate system of control points/normal during importing/exporting.
|
void |
setPointCloud(boolean value)
Sets the flag whether the exporter should export the scene as point cloud(without topological structure), default value is false
|
void |
setSerializeW(boolean value)
Sets whether serialize W component in model's vertex position.
|
void |
setVerbose(boolean value)
Sets whether generate comments for each section
|
getExportTextures, setExportTexturesgetEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, lookupForFile, setEncoding, setFileName, setFileSystem, setFileSystemFactory, setLookupPathspublic ObjSaveOptions()
ObjSaveOptionspublic boolean getApplyUnitScale()
AssetInfo.getUnitScaleFactor() to the mesh.
Default value is false.AssetInfo.getUnitScaleFactor() to the mesh.
Default value is false.public void setApplyUnitScale(boolean value)
AssetInfo.getUnitScaleFactor() to the mesh.
Default value is false.value - New valuepublic boolean getPointCloud()
public void setPointCloud(boolean value)
value - New valuepublic boolean getVerbose()
public void setVerbose(boolean value)
value - New valuepublic boolean getSerializeW()
public void setSerializeW(boolean value)
value - New valuepublic boolean getEnableMaterials()
public void setEnableMaterials(boolean value)
value - New valuepublic boolean getFlipCoordinateSystem()
public void setFlipCoordinateSystem(boolean value)
value - New valuepublic AxisSystem getAxisSystem()
public void setAxisSystem(AxisSystem value)
value - New value
Remarks:
FlipCoordinateSystem must be enabled to utilize this feature.