Html5SaveOptions

Html5SaveOptions class

Save options for HTML5

Methods

constructor

NameDescription
constructor()Constructor of Html5SaveOptions with all default settings.

Result:


getShowGrid

NameDescription
getShowGrid()Display a grid in the scene. Default value is true.

Result:


setShowGrid

NameDescription
setShowGrid(value)Display a grid in the scene. Default value is true.

Result:


getShowRulers

NameDescription
getShowRulers()Display rulers of x/y/z axes in the scene to measure the model. Default value is false.

Result:


setShowRulers

NameDescription
setShowRulers(value)Display rulers of x/y/z axes in the scene to measure the model. Default value is false.

Result:


getShowUI

NameDescription
getShowUI()Display a simple UI in the scene. Default value is true.

Result:


setShowUI

NameDescription
setShowUI(value)Display a simple UI in the scene. Default value is true.

Result:


getOrientationBox

NameDescription
getOrientationBox()Display a orientation box. Default value is true.

Result:


setOrientationBox

NameDescription
setOrientationBox(value)Display a orientation box. Default value is true.

Result:


getUpVector

NameDescription
getUpVector()Gets or sets the up vector, value can be “x”/“y”/“z”, default value is “y”

Result:


setUpVector

NameDescription
setUpVector(value)Gets or sets the up vector, value can be “x”/“y”/“z”, default value is “y”

Result:


getFarPlane

NameDescription
getFarPlane()Gets or sets the far plane of the camera, default value is 1000.

Result:


setFarPlane

NameDescription
setFarPlane(value)Gets or sets the far plane of the camera, default value is 1000.

Result:


getNearPlane

NameDescription
getNearPlane()Gets or sets the near plane of the camera, default value is 1

Result:


setNearPlane

NameDescription
setNearPlane(value)Gets or sets the near plane of the camera, default value is 1

Result:


getLookAt

NameDescription
getLookAt()Gets or sets the default look at position, default value is (0, 0, 0)

Result:


setLookAt

NameDescription
setLookAt(value)Gets or sets the default look at position, default value is (0, 0, 0)

Result:


getCameraPosition

NameDescription
getCameraPosition()Gets or sets the initial position of the camera, default value is (10, 10, 10)

Result:


setCameraPosition

NameDescription
setCameraPosition(value)Gets or sets the initial position of the camera, default value is (10, 10, 10)

Result:


getFieldOfView

NameDescription
getFieldOfView()Gets or sets the field of the view, default value is 45, measured in degree.

Result:


setFieldOfView

NameDescription
setFieldOfView(value)Gets or sets the field of the view, default value is 45, measured in degree.

Result:


getExportTextures

NameDescription
getExportTextures()Try to copy textures used in scene to output directory.

Result:


setExportTextures

NameDescription
setExportTextures(value)Try to copy textures used in scene to output directory.

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: