Package com.aspose.threed
Class RendererVariableManager
- java.lang.Object
-
- com.aspose.threed.RendererVariableManager
-
public abstract class RendererVariableManager extends java.lang.Object
This class manages variables used in rendering
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FVector3
getCameraPosition()
Camera's position in world coordinate systemfloat
getDepthBias()
Depth bias for shadow mapping, default value is 0.001FMatrix4
getMatrixLightSpace()
Matrix for light space transformationFMatrix4
getMatrixProjection()
Matrix for projection transformationFMatrix4
getMatrixView()
Matrix for view transformationFMatrix4
getMatrixViewProjection()
Matrix for view and projection transformation.FMatrix4
getMatrixWorld()
Matrix for world transformationFMatrix4
getMatrixWorldNormal()
Matrix for converting normal from object to world space.FMatrix4
getMatrixWorldViewProjection()
Matrix for world view and projection transformationFVector3
getShadowCaster()
Position of shadow caster in world coordinate systemITextureUnit
getShadowmap()
The depth texture used for shadow mappingFVector2
getViewportSize()
Size of viewport, measured in pixelFVector3
getWorldAmbient()
Ambient color defined in viewport.float
getWorldTime()
Time in secondsvoid
setCameraPosition(FVector3 value)
Camera's position in world coordinate systemvoid
setDepthBias(float value)
Depth bias for shadow mapping, default value is 0.001void
setMatrixLightSpace(FMatrix4 value)
Matrix for light space transformationvoid
setMatrixProjection(FMatrix4 value)
Matrix for projection transformationvoid
setMatrixView(FMatrix4 value)
Matrix for view transformationvoid
setShadowCaster(FVector3 value)
Position of shadow caster in world coordinate systemvoid
setShadowmap(ITextureUnit value)
The depth texture used for shadow mappingvoid
setViewportSize(FVector2 value)
Size of viewport, measured in pixelvoid
setWorldAmbient(FVector3 value)
Ambient color defined in viewport.void
setWorldTime(float value)
Time in seconds
-
-
-
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
-
-