Package com.aspose.threed
Class Html5SaveOptions
- java.lang.Object
-
- com.aspose.threed.IOConfig
-
- com.aspose.threed.SaveOptions
-
- com.aspose.threed.Html5SaveOptions
-
public class Html5SaveOptions extends SaveOptions
Save options for HTML5
-
-
Constructor Summary
Constructors Constructor Description Html5SaveOptions()
Constructor ofHtml5SaveOptions
with all default settings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3
getCameraPosition()
Gets the initial position of the camera, default value is (10, 10, 10)double
getFarPlane()
Gets the far plane of the camera, default value is 1000.double
getFieldOfView()
Gets the field of the view, default value is 45, measured in degree.Vector3
getLookAt()
Gets the default look at position, default value is (0, 0, 0)double
getNearPlane()
Gets the near plane of the camera, default value is 1boolean
getOrientationBox()
Display a orientation box.boolean
getShowGrid()
Display a grid in the scene.boolean
getShowRulers()
Display rulers of x/y/z axes in the scene to measure the model.boolean
getShowUI()
Display a simple UI in the scene.java.lang.String
getUpVector()
Gets the up vector, value can be "x"/"y"/"z", default value is "y"void
setCameraPosition(Vector3 value)
Sets the initial position of the camera, default value is (10, 10, 10)void
setFarPlane(double value)
Sets the far plane of the camera, default value is 1000.void
setFieldOfView(double value)
Sets the field of the view, default value is 45, measured in degree.void
setLookAt(Vector3 value)
Sets the default look at position, default value is (0, 0, 0)void
setNearPlane(double value)
Sets the near plane of the camera, default value is 1void
setOrientationBox(boolean value)
Display a orientation box.void
setShowGrid(boolean value)
Display a grid in the scene.void
setShowRulers(boolean value)
Display rulers of x/y/z axes in the scene to measure the model.void
setShowUI(boolean value)
Display a simple UI in the scene.void
setUpVector(java.lang.String value)
Sets the up vector, value can be "x"/"y"/"z", default value is "y"-
Methods inherited from class com.aspose.threed.IOConfig
getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, lookupForFile, setEncoding, setFileName, setFileSystem, setFileSystemFactory, setLookupPaths
-
-
-
-
Constructor Detail
-
Html5SaveOptions
public Html5SaveOptions()
Constructor ofHtml5SaveOptions
with all default settings.
-
-
Method Detail
-
getShowGrid
public boolean getShowGrid()
Display a grid in the scene. Default value is true.
-
setShowGrid
public void setShowGrid(boolean value)
Display a grid in the scene. Default value is true.- Parameters:
value
- New value
-
getShowRulers
public boolean getShowRulers()
Display rulers of x/y/z axes in the scene to measure the model. Default value is false.
-
setShowRulers
public void setShowRulers(boolean value)
Display rulers of x/y/z axes in the scene to measure the model. Default value is false.- Parameters:
value
- New value
-
getShowUI
public boolean getShowUI()
Display a simple UI in the scene. Default value is true.
-
setShowUI
public void setShowUI(boolean value)
Display a simple UI in the scene. Default value is true.- Parameters:
value
- New value
-
getOrientationBox
public boolean getOrientationBox()
Display a orientation box. Default value is true.
-
setOrientationBox
public void setOrientationBox(boolean value)
Display a orientation box. Default value is true.- Parameters:
value
- New value
-
getUpVector
public java.lang.String getUpVector()
Gets the up vector, value can be "x"/"y"/"z", default value is "y"
-
setUpVector
public void setUpVector(java.lang.String value)
Sets the up vector, value can be "x"/"y"/"z", default value is "y"- Parameters:
value
- New value
-
getFarPlane
public double getFarPlane()
Gets the far plane of the camera, default value is 1000.
-
setFarPlane
public void setFarPlane(double value)
Sets the far plane of the camera, default value is 1000.- Parameters:
value
- New value
-
getNearPlane
public double getNearPlane()
Gets the near plane of the camera, default value is 1
-
setNearPlane
public void setNearPlane(double value)
Sets the near plane of the camera, default value is 1- Parameters:
value
- New value
-
getLookAt
public Vector3 getLookAt()
Gets the default look at position, default value is (0, 0, 0)
-
setLookAt
public void setLookAt(Vector3 value)
Sets the default look at position, default value is (0, 0, 0)- Parameters:
value
- New value
-
getCameraPosition
public Vector3 getCameraPosition()
Gets the initial position of the camera, default value is (10, 10, 10)
-
setCameraPosition
public void setCameraPosition(Vector3 value)
Sets the initial position of the camera, default value is (10, 10, 10)- Parameters:
value
- New value
-
getFieldOfView
public double getFieldOfView()
Gets the field of the view, default value is 45, measured in degree.
-
setFieldOfView
public void setFieldOfView(double value)
Sets the field of the view, default value is 45, measured in degree.- Parameters:
value
- New value
-
-