public class Html5SaveOptions extends SaveOptions
Constructor and Description |
---|
Html5SaveOptions()
Constructor of
Html5SaveOptions with all default settings. |
Modifier and Type | Method and 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 1
|
boolean |
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 1
|
void |
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"
|
getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, lookupForFile, setEncoding, setFileName, setFileSystem, setFileSystemFactory, setLookupPaths
public Html5SaveOptions()
Html5SaveOptions
with all default settings.public boolean getShowGrid()
public void setShowGrid(boolean value)
value
- New valuepublic boolean getShowRulers()
public void setShowRulers(boolean value)
value
- New valuepublic boolean getShowUI()
public void setShowUI(boolean value)
value
- New valuepublic boolean getOrientationBox()
public void setOrientationBox(boolean value)
value
- New valuepublic java.lang.String getUpVector()
public void setUpVector(java.lang.String value)
value
- New valuepublic double getFarPlane()
public void setFarPlane(double value)
value
- New valuepublic double getNearPlane()
public void setNearPlane(double value)
value
- New valuepublic Vector3 getLookAt()
public void setLookAt(Vector3 value)
value
- New valuepublic Vector3 getCameraPosition()
public void setCameraPosition(Vector3 value)
value
- New valuepublic double getFieldOfView()
public void setFieldOfView(double value)
value
- New value