Html5SaveOptions

Inheritance: java.lang.Object, com.aspose.threed.IOConfig, com.aspose.threed.SaveOptions

public class Html5SaveOptions extends SaveOptions

Save options for HTML5

Constructors

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

Methods

MethodDescription
equals(Object arg0)
getCameraPosition()Gets the initial position of the camera, default value is (10, 10, 10)
getClass()
getEncoding()Gets the default encoding for text-based files.
getExportTextures()Try to copy textures used in scene to output directory.
getFarPlane()Gets the far plane of the camera, default value is 1000.
getFieldOfView()Gets the field of the view, default value is 45, measured in degree.
getFileFormat()Gets the file format that specified in current Save/Load option.
getFileName()The file name of the exporting/importing scene.
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.
getFileSystemFactory()Gets the factory class for FileSystem.
getLookAt()Gets the default look at position, default value is (0, 0, 0)
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
getNearPlane()Gets the near plane of the camera, default value is 1
getOrientationBox()Display a orientation box.
getShowGrid()Display a grid in the scene.
getShowRulers()Display rulers of x/y/z axes in the scene to measure the model.
getShowUI()Display a simple UI in the scene.
getUpVector()Gets the up vector, value can be “x”/“y”/“z”, default value is “y”
hashCode()
notify()
notifyAll()
setCameraPosition(Vector3 value)Sets the initial position of the camera, default value is (10, 10, 10)
setEncoding(Charset value)Sets the default encoding for text-based files.
setExportTextures(boolean value)Try to copy textures used in scene to output directory.
setFarPlane(double value)Sets the far plane of the camera, default value is 1000.
setFieldOfView(double value)Sets the field of the view, default value is 45, measured in degree.
setFileName(String value)The file name of the exporting/importing scene.
setFileSystem(FileSystem value)Allow user to handle how to manage the external dependencies during load/save.
setFileSystemFactory(FileSystemFactory value)Sets the factory class for FileSystem.
setLookAt(Vector3 value)Sets the default look at position, default value is (0, 0, 0)
setLookupPaths(ArrayList value)Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
setNearPlane(double value)Sets the near plane of the camera, default value is 1
setOrientationBox(boolean value)Display a orientation box.
setShowGrid(boolean value)Display a grid in the scene.
setShowRulers(boolean value)Display rulers of x/y/z axes in the scene to measure the model.
setShowUI(boolean value)Display a simple UI in the scene.
setUpVector(String value)Sets the up vector, value can be “x”/“y”/“z”, default value is “y”
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Html5SaveOptions()

public Html5SaveOptions()

Constructor of Html5SaveOptions with all default settings.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getCameraPosition()

public Vector3 getCameraPosition()

Gets the initial position of the camera, default value is (10, 10, 10)

Returns: Vector3

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEncoding()

public Charset getEncoding()

Gets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Returns: java.nio.charset.Charset

getExportTextures()

public boolean getExportTextures()

Try to copy textures used in scene to output directory.

Returns: boolean

getFarPlane()

public double getFarPlane()

Gets the far plane of the camera, default value is 1000.

Returns: double

getFieldOfView()

public double getFieldOfView()

Gets the field of the view, default value is 45, measured in degree.

Returns: double

getFileFormat()

public FileFormat getFileFormat()

Gets the file format that specified in current Save/Load option.

Returns: FileFormat

getFileName()

public String getFileName()

The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Returns: java.lang.String

getFileSystem()

public FileSystem getFileSystem()

Allow user to handle how to manage the external dependencies during load/save.

Returns: FileSystem

getFileSystemFactory()

public static FileSystemFactory getFileSystemFactory()

Gets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Returns: FileSystemFactory

getLookAt()

public Vector3 getLookAt()

Gets the default look at position, default value is (0, 0, 0)

Returns: Vector3

getLookupPaths()

public ArrayList<String> getLookupPaths()

Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Returns: java.util.ArrayList<java.lang.String>

getNearPlane()

public double getNearPlane()

Gets the near plane of the camera, default value is 1

Returns: double

getOrientationBox()

public boolean getOrientationBox()

Display a orientation box. Default value is true.

Returns: boolean

getShowGrid()

public boolean getShowGrid()

Display a grid in the scene. Default value is true.

Returns: boolean

getShowRulers()

public boolean getShowRulers()

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

Returns: boolean

getShowUI()

public boolean getShowUI()

Display a simple UI in the scene. Default value is true.

Returns: boolean

getUpVector()

public String getUpVector()

Gets the up vector, value can be “x”/“y”/“z”, default value is “y”

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCameraPosition(Vector3 value)

public void setCameraPosition(Vector3 value)

Sets the initial position of the camera, default value is (10, 10, 10)

Parameters:

ParameterTypeDescription
valueVector3New value

setEncoding(Charset value)

public void setEncoding(Charset value)

Sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Parameters:

ParameterTypeDescription
valuejava.nio.charset.CharsetNew value

setExportTextures(boolean value)

public void setExportTextures(boolean value)

Try to copy textures used in scene to output directory.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setFarPlane(double value)

public void setFarPlane(double value)

Sets the far plane of the camera, default value is 1000.

Parameters:

ParameterTypeDescription
valuedoubleNew value

setFieldOfView(double value)

public void setFieldOfView(double value)

Sets the field of the view, default value is 45, measured in degree.

Parameters:

ParameterTypeDescription
valuedoubleNew value

setFileName(String value)

public void setFileName(String value)

The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

setFileSystem(FileSystem value)

public void setFileSystem(FileSystem value)

Allow user to handle how to manage the external dependencies during load/save.

Parameters:

ParameterTypeDescription
valueFileSystemNew value

setFileSystemFactory(FileSystemFactory value)

public static void setFileSystemFactory(FileSystemFactory value)

Sets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Parameters:

ParameterTypeDescription
valueFileSystemFactoryNew value

setLookAt(Vector3 value)

public void setLookAt(Vector3 value)

Sets the default look at position, default value is (0, 0, 0)

Parameters:

ParameterTypeDescription
valueVector3New value

setLookupPaths(ArrayList value)

public void setLookupPaths(ArrayList<String> value)

Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Parameters:

ParameterTypeDescription
valuejava.util.ArrayList<java.lang.String>New value

setNearPlane(double value)

public void setNearPlane(double value)

Sets the near plane of the camera, default value is 1

Parameters:

ParameterTypeDescription
valuedoubleNew value

setOrientationBox(boolean value)

public void setOrientationBox(boolean value)

Display a orientation box. Default value is true.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setShowGrid(boolean value)

public void setShowGrid(boolean value)

Display a grid in the scene. Default value is true.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setShowRulers(boolean value)

public void setShowRulers(boolean value)

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

Parameters:

ParameterTypeDescription
valuebooleanNew value

setShowUI(boolean value)

public void setShowUI(boolean value)

Display a simple UI in the scene. Default value is true.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setUpVector(String value)

public void setUpVector(String value)

Sets the up vector, value can be “x”/“y”/“z”, default value is “y”

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int