Method ExportSkyToTexture
ExportSkyToTexture(Camera)
Export the provided camera's sky to a flattened cubemap.
Declaration
public Texture2D ExportSkyToTexture(Camera camera)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera | Requested camera. |
Returns
| Type | Description |
|---|---|
| Texture2D | Result texture. |