Class BuiltinSkyParameters
Parameters passed to sky rendering functions.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public class BuiltinSkyParameters
Fields
cloudSettings
Current cloud settings.
Declaration
public CloudSettings cloudSettings
Field Value
Type | Description |
---|---|
CloudSettings |
colorBuffer
Color buffer used for rendering.
Declaration
public RTHandle colorBuffer
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.RTHandle |
commandBuffer
Command buffer used for rendering.
Declaration
public CommandBuffer commandBuffer
Field Value
Type | Description |
---|---|
CommandBuffer |
cubemapFace
Index of the current cubemap face to render (Unknown for texture2D).
Declaration
public CubemapFace cubemapFace
Field Value
Type | Description |
---|---|
CubemapFace |
debugSettings
Current debug dsplay settings.
Declaration
public DebugDisplaySettings debugSettings
Field Value
Type | Description |
---|---|
DebugDisplaySettings |
depthBuffer
Depth buffer used for rendering.
Declaration
public RTHandle depthBuffer
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.RTHandle |
frameIndex
Current frame index.
Declaration
public int frameIndex
Field Value
Type | Description |
---|---|
Int32 |
hdCamera
Camera used for rendering.
Declaration
public HDCamera hdCamera
Field Value
Type | Description |
---|---|
HDCamera |
nullRT
Null color buffer render target identifier.
Declaration
public static RenderTargetIdentifier nullRT
Field Value
Type | Description |
---|---|
RenderTargetIdentifier |
pixelCoordToViewDirMatrix
Matrix mapping pixel coordinate to view direction.
Declaration
public Matrix4x4 pixelCoordToViewDirMatrix
Field Value
Type | Description |
---|---|
Matrix4x4 |
screenSize
Screen size: Width, height, inverse width, inverse height.
Declaration
public Vector4 screenSize
Field Value
Type | Description |
---|---|
Vector4 |
skySettings
Current sky settings.
Declaration
public SkySettings skySettings
Field Value
Type | Description |
---|---|
SkySettings |
sunLight
Current sun light.
Declaration
public Light sunLight
Field Value
Type | Description |
---|---|
Light |
viewMatrix
Camera view matrix.
Declaration
public Matrix4x4 viewMatrix
Field Value
Type | Description |
---|---|
Matrix4x4 |
volumetricClouds
Current volumetric cloud settings.
Declaration
public VolumetricClouds volumetricClouds
Field Value
Type | Description |
---|---|
VolumetricClouds |
worldSpaceCameraPos
World space camera position.
Declaration
public Vector3 worldSpaceCameraPos
Field Value
Type | Description |
---|---|
Vector3 |