Class RendererVariableManager

  • java.lang.Object
    • com.aspose.threed.RendererVariableManager

  • public abstract class RendererVariableManager
    extends java.lang.Object
    This class manages variables used in rendering
    • Field Detail

      • renderer

        protected Renderer renderer
        The renderer creates this variable manager
    • Method Detail

      • getWorldTime

        public float getWorldTime()
        Time in seconds
      • setWorldTime

        public void setWorldTime​(float value)
        Time in seconds
        Parameters:
        value - New value
      • getShadowCaster

        public FVector3 getShadowCaster()
        Position of shadow caster in world coordinate system
      • setShadowCaster

        public void setShadowCaster​(FVector3 value)
        Position of shadow caster in world coordinate system
        Parameters:
        value - New value
      • getShadowmap

        public ITextureUnit getShadowmap()
        The depth texture used for shadow mapping
      • setShadowmap

        public void setShadowmap​(ITextureUnit value)
        The depth texture used for shadow mapping
        Parameters:
        value - New value
      • getMatrixLightSpace

        public FMatrix4 getMatrixLightSpace()
        Matrix for light space transformation
      • setMatrixLightSpace

        public void setMatrixLightSpace​(FMatrix4 value)
        Matrix for light space transformation
        Parameters:
        value - New value
      • getMatrixViewProjection

        public FMatrix4 getMatrixViewProjection()
        Matrix for view and projection transformation.
      • getMatrixWorldViewProjection

        public FMatrix4 getMatrixWorldViewProjection()
        Matrix for world view and projection transformation
      • getMatrixWorld

        public FMatrix4 getMatrixWorld()
        Matrix for world transformation
      • getMatrixWorldNormal

        public FMatrix4 getMatrixWorldNormal()
        Matrix for converting normal from object to world space.
      • getMatrixProjection

        public FMatrix4 getMatrixProjection()
        Matrix for projection transformation
      • setMatrixProjection

        public void setMatrixProjection​(FMatrix4 value)
        Matrix for projection transformation
        Parameters:
        value - New value
      • getMatrixView

        public FMatrix4 getMatrixView()
        Matrix for view transformation
      • setMatrixView

        public void setMatrixView​(FMatrix4 value)
        Matrix for view transformation
        Parameters:
        value - New value
      • getCameraPosition

        public FVector3 getCameraPosition()
        Camera's position in world coordinate system
      • setCameraPosition

        public void setCameraPosition​(FVector3 value)
        Camera's position in world coordinate system
        Parameters:
        value - New value
      • getDepthBias

        public float getDepthBias()
        Depth bias for shadow mapping, default value is 0.001
      • setDepthBias

        public void setDepthBias​(float value)
        Depth bias for shadow mapping, default value is 0.001
        Parameters:
        value - New value
      • getViewportSize

        public FVector2 getViewportSize()
        Size of viewport, measured in pixel
      • setViewportSize

        public void setViewportSize​(FVector2 value)
        Size of viewport, measured in pixel
        Parameters:
        value - New value
      • getWorldAmbient

        public FVector3 getWorldAmbient()
        Ambient color defined in viewport.
      • setWorldAmbient

        public void setWorldAmbient​(FVector3 value)
        Ambient color defined in viewport.
        Parameters:
        value - New value