Package com.aspose.threed
Class ObjLoadOptions
- java.lang.Object
-
- com.aspose.threed.IOConfig
-
- com.aspose.threed.LoadOptions
-
- com.aspose.threed.ObjLoadOptions
-
public class ObjLoadOptions extends LoadOptions
Load options for wavefront obj
-
-
Constructor Summary
Constructors Constructor Description ObjLoadOptions()
Constructor ofObjLoadOptions
-
Method Summary
Modifier and Type Method Description boolean
getEnableMaterials()
Gets whether import materials for each objectboolean
getFlipCoordinateSystem()
Gets whether flip coordinate system of control points/normal during importingboolean
getNormalizeNormal()
Gets whether to normalize the normal vector during the loading.double
getScale()
Scales on x/y/z axis, default value is 1.0void
setEnableMaterials(boolean value)
Sets whether import materials for each objectvoid
setFlipCoordinateSystem(boolean value)
Sets whether flip coordinate system of control points/normal during importingvoid
setNormalizeNormal(boolean value)
Sets whether to normalize the normal vector during the loading.void
setScale(double value)
Scales on x/y/z axis, default value is 1.0-
Methods inherited from class com.aspose.threed.IOConfig
getFileName, getFileSystem, getLookupPaths, lookupForFile, setFileName, setFileSystem, setLookupPaths
-
-
-
-
Constructor Detail
-
ObjLoadOptions
public ObjLoadOptions()
Constructor ofObjLoadOptions
-
-
Method Detail
-
getFlipCoordinateSystem
public boolean getFlipCoordinateSystem()
Gets whether flip coordinate system of control points/normal during importing
-
setFlipCoordinateSystem
public void setFlipCoordinateSystem(boolean value)
Sets whether flip coordinate system of control points/normal during importing- Parameters:
value
- New value
-
getEnableMaterials
public boolean getEnableMaterials()
Gets whether import materials for each object
-
setEnableMaterials
public void setEnableMaterials(boolean value)
Sets whether import materials for each object- Parameters:
value
- New value
-
getScale
public double getScale()
Scales on x/y/z axis, default value is 1.0
-
setScale
public void setScale(double value)
Scales on x/y/z axis, default value is 1.0- Parameters:
value
- New value
-
getNormalizeNormal
public boolean getNormalizeNormal()
Gets whether to normalize the normal vector during the loading. Default value is true.
-
setNormalizeNormal
public void setNormalizeNormal(boolean value)
Sets whether to normalize the normal vector during the loading. Default value is true.- Parameters:
value
- New value
-
-