Method GetCausticsBuffer
GetCausticsBuffer(out float)
Function that returns the caustics buffer for the water surface. If the feature is disabled or the resource is not available the function returns null.
Declaration
public Texture GetCausticsBuffer(out float regionSize)
Parameters
| Type | Name | Description |
|---|---|---|
| float | regionSize | Output parameter that returns the size of the caustics region. |
Returns
| Type | Description |
|---|---|
| Texture | A monochrome texture that holds the caustics simulation of the water surface. |