Class Html5SaveOptions

Html5SaveOptions class

Save options for HTML5

public class Html5SaveOptions : SaveOptions

Constructors

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

Properties

NameDescription
CameraPosition { get; set; }Gets or sets the initial position of the camera, default value is (10, 10, 10)
Encoding { get; set; }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.(Inherited from IOConfig.)
ExportTextures { get; set; }Try to copy textures used in scene to output directory.(Inherited from SaveOptions.)
FarPlane { get; set; }Gets or sets the far plane of the camera, default value is 1000.
FieldOfView { get; set; }Gets or sets the field of the view, default value is 45, measured in degree.
FileFormat { get; }Gets the file format that specified in current Save/Load option.(Inherited from IOConfig.)
FileName { get; set; }The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.(Inherited from IOConfig.)
FileSystem { get; set; }Allow user to handle how to manage the external dependencies during load/save.(Inherited from IOConfig.)
LookAt { get; set; }Gets or sets the default look at position, default value is (0, 0, 0)
LookupPaths { get; set; }Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.(Inherited from IOConfig.)
NearPlane { get; set; }Gets or sets the near plane of the camera, default value is 1
OrientationBox { get; set; }Display a orientation box. Default value is true.
ShowGrid { get; set; }Display a grid in the scene. Default value is true.
ShowRulers { get; set; }Display rulers of x/y/z axes in the scene to measure the model. Default value is false.
ShowUI { get; set; }Display a simple UI in the scene. Default value is true.
UpVector { get; set; }Gets or sets the up vector, value can be “x”/“y”/“z”, default value is “y”

See Also