Html5SaveOptions
Overview
Html5SaveOptions is a class in Aspose.3D FOSS for .NET.
Inherits from: SaveOptions.
Save options for HTML5
This class provides 2 methods for working with Html5SaveOptions objects in .NET programs.
Available methods include: Html5SaveOptions, SaveOptions.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: CameraPosition, Encoding, ExportTextures, FarPlane, FieldOfView, FileFormat, and 11 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ShowGrid | bool | Read/Write | Display a grid in the scene. |
ShowRulers | bool | Read/Write | Display rulers of x/y/z axes in the scene to measure the model. |
ShowUI | bool | Read/Write | Display a simple UI in the scene. |
OrientationBox | bool | Read/Write | Display a orientation box. |
UpVector | string | Read/Write | Gets or sets the up vector, value can be “x”/“y”/“z”, default value is “y” |
FarPlane | double | Read/Write | Gets or sets the far plane of the camera, default value is 1000. |
NearPlane | double | Read/Write | Gets or sets the near plane of the camera, default value is 1 |
LookAt | Vector3 | Read/Write | Gets or sets the default look at position, default value is (0, 0, 0) |
CameraPosition | Vector3 | Read/Write | Gets or sets the initial position of the camera, default value is (10, 10, 10) |
FieldOfView | double | Read/Write | Gets or sets the field of the view, default value is 45, measured in degree. |
ExportTextures | bool | Read/Write | Try to copy textures used in scene to output directory. |
FileSystemFactory | FileSystemFactory | Read/Write | Gets or sets the factory class for FileSystem. |
FileFormat | FileFormat | Read | Gets the file format that specified in current Save/Load option. |
Encoding | Encoding | Read/Write | Gets or sets the default encoding for text-based files. |
FileSystem | FileSystem | Read/Write | Allow user to handle how to manage the external dependencies during load/save. |
LookupPaths | List<string> | Read/Write | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
FileName | string | Read/Write | The file name of the exporting/importing scene. |
Methods
| Signature | Description |
|---|---|
Html5SaveOptions() | Constructor of with all default settings. |
SaveOptions() | Initializes a new instance of the SaveOptions class. |