Class BuiltinSkyParameters
Parameters passed to sky rendering functions.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public class BuiltinSkyParameters : object
Fields
colorBuffer
Color buffer used for rendering.
Declaration
public RTHandle colorBuffer
Field Value
Type | Description |
---|---|
RTHandle |
commandBuffer
Command buffer used for rendering.
Declaration
public CommandBuffer commandBuffer
Field Value
Type | Description |
---|---|
CommandBuffer |
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 |
---|---|
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 |
worldSpaceCameraPos
World space camera position.
Declaration
public Vector3 worldSpaceCameraPos
Field Value
Type | Description |
---|---|
Vector3 |