RendererVariableManager
Contents
[
Hide
]RendererVariableManager class
This class manages variables used in rendering @hideconstructor
Methods
getWorldTime
| Name | Description |
|---|---|
| getWorldTime() | Time in seconds |
Result:
setWorldTime
| Name | Description |
|---|---|
| setWorldTime(value) | Time in seconds |
Result:
getShadowCaster
| Name | Description |
|---|---|
| getShadowCaster() | Position of shadow caster in world coordinate system |
Result:
setShadowCaster
| Name | Description |
|---|---|
| setShadowCaster(value) | Position of shadow caster in world coordinate system |
Result:
getShadowmap
| Name | Description |
|---|---|
| getShadowmap() | The depth texture used for shadow mapping |
Result:
setShadowmap
| Name | Description |
|---|---|
| setShadowmap(value) | The depth texture used for shadow mapping |
Result:
getMatrixLightSpace
| Name | Description |
|---|---|
| getMatrixLightSpace() | Matrix for light space transformation |
Result:
setMatrixLightSpace
| Name | Description |
|---|---|
| setMatrixLightSpace(value) | Matrix for light space transformation |
Result:
getMatrixViewProjection
| Name | Description |
|---|---|
| getMatrixViewProjection() | Matrix for view and projection transformation. |
Result:
getMatrixWorldViewProjection
| Name | Description |
|---|---|
| getMatrixWorldViewProjection() | Matrix for world view and projection transformation |
Result:
getMatrixWorld
| Name | Description |
|---|---|
| getMatrixWorld() | Matrix for world transformation |
Result:
getMatrixWorldNormal
| Name | Description |
|---|---|
| getMatrixWorldNormal() | Matrix for converting normal from object to world space. |
Result:
getMatrixProjection
| Name | Description |
|---|---|
| getMatrixProjection() | Matrix for projection transformation |
Result:
setMatrixProjection
| Name | Description |
|---|---|
| setMatrixProjection(value) | Matrix for projection transformation |
Result:
getMatrixView
| Name | Description |
|---|---|
| getMatrixView() | Matrix for view transformation |
Result:
setMatrixView
| Name | Description |
|---|---|
| setMatrixView(value) | Matrix for view transformation |
Result:
getCameraPosition
| Name | Description |
|---|---|
| getCameraPosition() | Camera’s position in world coordinate system |
Result:
setCameraPosition
| Name | Description |
|---|---|
| setCameraPosition(value) | Camera’s position in world coordinate system |
Result:
getDepthBias
| Name | Description |
|---|---|
| getDepthBias() | Depth bias for shadow mapping, default value is 0.001 |
Result:
setDepthBias
| Name | Description |
|---|---|
| setDepthBias(value) | Depth bias for shadow mapping, default value is 0.001 |
Result:
getViewportSize
| Name | Description |
|---|---|
| getViewportSize() | Size of viewport, measured in pixel |
Result:
setViewportSize
| Name | Description |
|---|---|
| setViewportSize(value) | Size of viewport, measured in pixel |
Result:
getWorldAmbient
| Name | Description |
|---|---|
| getWorldAmbient() | Ambient color defined in viewport. |
Result:
setWorldAmbient
| Name | Description |
|---|---|
| setWorldAmbient(value) | Ambient color defined in viewport. |
Result: