Html5SaveOptions class

Html5SaveOptions class

Save options for HTML5

Inheritance: Html5SaveOptionsSaveOptionsIOConfig

The Html5SaveOptions type exposes the following members:

Constructors

ConstructorDescription
initConstructor of Html5SaveOptions with all default settings.

Properties

PropertyDescription
file_formatGets the file format that specified in current Save/Load option.
encodingGets or sets the default encoding for text-based files.
Default value is null which means the importer/exporter will decide which encoding to use.
file_systemAllow user to handle how to manage the external dependencies during load/save.
lookup_pathsSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
file_nameThe file name of the exporting/importing scene.
This is optional, but useful when serialize external assets like OBJ’s material.
export_texturesTry to copy textures used in scene to output directory.
show_gridDisplay a grid in the scene.
Default value is true.
show_rulersDisplay rulers of x/y/z axes in the scene to measure the model.
Default value is false.
show_uiDisplay a simple UI in the scene.
Default value is true.
orientation_boxDisplay a orientation box.
Default value is true.
up_vectorGets or sets the up vector, value can be “x”/“y”/“z”, default value is “y”
far_planeGets or sets the far plane of the camera, default value is 1000.
near_planeGets or sets the near plane of the camera, default value is 1
look_atGets or sets the default look at position, default value is (0, 0, 0)
camera_positionGets or sets the initial position of the camera, default value is (10, 10, 10)
field_of_viewGets or sets the field of the view, default value is 45, measured in degree.

See Also