Html5SaveOptions

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

NameTypeAccessDescription
ShowGridboolRead/WriteDisplay a grid in the scene.
ShowRulersboolRead/WriteDisplay rulers of x/y/z axes in the scene to measure the model.
ShowUIboolRead/WriteDisplay a simple UI in the scene.
OrientationBoxboolRead/WriteDisplay a orientation box.
UpVectorstringRead/WriteGets or sets the up vector, value can be “x”/“y”/“z”, default value is “y”
FarPlanedoubleRead/WriteGets or sets the far plane of the camera, default value is 1000.
NearPlanedoubleRead/WriteGets or sets the near plane of the camera, default value is 1
LookAtVector3Read/WriteGets or sets the default look at position, default value is (0, 0, 0)
CameraPositionVector3Read/WriteGets or sets the initial position of the camera, default value is (10, 10, 10)
FieldOfViewdoubleRead/WriteGets or sets the field of the view, default value is 45, measured in degree.
ExportTexturesboolRead/WriteTry to copy textures used in scene to output directory.
FileSystemFactoryFileSystemFactoryRead/WriteGets or sets the factory class for FileSystem.
FileFormatFileFormatReadGets the file format that specified in current Save/Load option.
EncodingEncodingRead/WriteGets or sets the default encoding for text-based files.
FileSystemFileSystemRead/WriteAllow user to handle how to manage the external dependencies during load/save.
LookupPathsList<string>Read/WriteSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
FileNamestringRead/WriteThe file name of the exporting/importing scene.

Methods

SignatureDescription
Html5SaveOptions()Constructor of with all default settings.
SaveOptions()Initializes a new instance of the SaveOptions class.

See Also

 English