ObjLoadOptions

ObjLoadOptions class

Load options for wavefront obj

Methods

constructor

NameDescription
constructor()Constructor of ObjLoadOptions

Result:


getFlipCoordinateSystem

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

Result:


setFlipCoordinateSystem

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

Result:


getEnableMaterials

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

Result:


setEnableMaterials

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

Result:


getScale

NameDescription
getScale()Scales on x/y/z axis, default value is 1.0

Result:


setScale

NameDescription
setScale(value)Scales on x/y/z axis, default value is 1.0

Result:


getNormalizeNormal

NameDescription
getNormalizeNormal()Gets or sets whether to normalize the normal vector during the loading. Default value is true.

Result:


setNormalizeNormal

NameDescription
setNormalizeNormal(value)Gets or sets whether to normalize the normal vector during the loading. Default value is true.

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: