com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class HTML5SaveOptions



  • public class HTML5SaveOptions
    extends SaveOptions
    Save options for HTML5
    • Constructor Detail

      • HTML5SaveOptions

        public HTML5SaveOptions()
        Constructor of HTML5SaveOptions with all default settings.
    • Method Detail

      • getShowGrid

        public boolean getShowGrid()
        Display a grid in the scene. Default value is true.
      • setShowGrid

        public void setShowGrid(boolean value)
        Display a grid in the scene. Default value is true.
        Parameters:
        value - New value
      • getShowUI

        public boolean getShowUI()
        Display a simple UI in the scene. Default value is true.
      • setShowUI

        public void setShowUI(boolean value)
        Display a simple UI in the scene. Default value is true.
        Parameters:
        value - New value
      • getOrientationBox

        public boolean getOrientationBox()
        Display a orientation box. Default value is true.
      • setOrientationBox

        public void setOrientationBox(boolean value)
        Display a orientation box. Default value is true.
        Parameters:
        value - New value
      • getUpVector

        public java.lang.String getUpVector()
        Gets the up vector, value can be "x"/"y"/"z", default value is "y"
      • setUpVector

        public void setUpVector(java.lang.String value)
        Sets the up vector, value can be "x"/"y"/"z", default value is "y"
        Parameters:
        value - New value
      • getFarPlane

        public double getFarPlane()
        Gets the far plane of the camera, default value is 1000.
      • setFarPlane

        public void setFarPlane(double value)
        Sets the far plane of the camera, default value is 1000.
        Parameters:
        value - New value
      • getNearPlane

        public double getNearPlane()
        Gets the near plane of the camera, default value is 1
      • setNearPlane

        public void setNearPlane(double value)
        Sets the near plane of the camera, default value is 1
        Parameters:
        value - New value
      • getLookAt

        public Vector3 getLookAt()
        Gets the default look at position, default value is (0, 0, 0)
      • setLookAt

        public void setLookAt(Vector3 value)
        Sets the default look at position, default value is (0, 0, 0)
        Parameters:
        value - New value
      • getCameraPosition

        public Vector3 getCameraPosition()
        Gets the initial position of the camera, default value is (10, 10, 10)
      • setCameraPosition

        public void setCameraPosition(Vector3 value)
        Sets the initial position of the camera, default value is (10, 10, 10)
        Parameters:
        value - New value
      • getFieldOfView

        public double getFieldOfView()
        Gets the field of the view, default value is 45, measured in degree.
      • setFieldOfView

        public void setFieldOfView(double value)
        Sets the field of the view, default value is 45, measured in degree.
        Parameters:
        value - New value