Html5SaveOptions
Contents
[
Hide
]Html5SaveOptions class
Save options for HTML5
Methods
constructor
Name | Description |
---|---|
constructor() | Constructor of Html5SaveOptions with all default settings. |
Result:
getShowGrid
Name | Description |
---|---|
getShowGrid() | Display a grid in the scene. Default value is true. |
Result:
setShowGrid
Name | Description |
---|---|
setShowGrid(value) | Display a grid in the scene. Default value is true. |
Result:
getShowRulers
Name | Description |
---|---|
getShowRulers() | Display rulers of x/y/z axes in the scene to measure the model. Default value is false. |
Result:
setShowRulers
Name | Description |
---|---|
setShowRulers(value) | Display rulers of x/y/z axes in the scene to measure the model. Default value is false. |
Result:
getShowUI
Name | Description |
---|---|
getShowUI() | Display a simple UI in the scene. Default value is true. |
Result:
setShowUI
Name | Description |
---|---|
setShowUI(value) | Display a simple UI in the scene. Default value is true. |
Result:
getOrientationBox
Name | Description |
---|---|
getOrientationBox() | Display a orientation box. Default value is true. |
Result:
setOrientationBox
Name | Description |
---|---|
setOrientationBox(value) | Display a orientation box. Default value is true. |
Result:
getUpVector
Name | Description |
---|---|
getUpVector() | Gets or sets the up vector, value can be “x”/“y”/“z”, default value is “y” |
Result:
setUpVector
Name | Description |
---|---|
setUpVector(value) | Gets or sets the up vector, value can be “x”/“y”/“z”, default value is “y” |
Result:
getFarPlane
Name | Description |
---|---|
getFarPlane() | Gets or sets the far plane of the camera, default value is 1000. |
Result:
setFarPlane
Name | Description |
---|---|
setFarPlane(value) | Gets or sets the far plane of the camera, default value is 1000. |
Result:
getNearPlane
Name | Description |
---|---|
getNearPlane() | Gets or sets the near plane of the camera, default value is 1 |
Result:
setNearPlane
Name | Description |
---|---|
setNearPlane(value) | Gets or sets the near plane of the camera, default value is 1 |
Result:
getLookAt
Name | Description |
---|---|
getLookAt() | Gets or sets the default look at position, default value is (0, 0, 0) |
Result:
setLookAt
Name | Description |
---|---|
setLookAt(value) | Gets or sets the default look at position, default value is (0, 0, 0) |
Result:
getCameraPosition
Name | Description |
---|---|
getCameraPosition() | Gets or sets the initial position of the camera, default value is (10, 10, 10) |
Result:
setCameraPosition
Name | Description |
---|---|
setCameraPosition(value) | Gets or sets the initial position of the camera, default value is (10, 10, 10) |
Result:
getFieldOfView
Name | Description |
---|---|
getFieldOfView() | Gets or sets the field of the view, default value is 45, measured in degree. |
Result:
setFieldOfView
Name | Description |
---|---|
setFieldOfView(value) | Gets or sets the field of the view, default value is 45, measured in degree. |
Result:
getExportTextures
Name | Description |
---|---|
getExportTextures() | Try to copy textures used in scene to output directory. |
Result:
setExportTextures
Name | Description |
---|---|
setExportTextures(value) | Try to copy textures used in scene to output directory. |
Result:
getFileFormat
Name | Description |
---|---|
getFileFormat() | Gets the file format that specified in current Save/Load option. |
Result:
getEncoding
Name | Description |
---|---|
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
Name | Description |
---|---|
getFileSystem() | Allow user to handle how to manage the external dependencies during load/save. |
Result:
setFileSystem
Name | Description |
---|---|
setFileSystem(value) | Allow user to handle how to manage the external dependencies during load/save. |
Result:
getLookupPaths
Name | Description |
---|---|
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
Name | Description |
---|---|
getFileName() | The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material. |
Result:
setFileName
Name | Description |
---|---|
setFileName(value) | The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material. |
Result: