Class BuiltinSkyParameters
Parameters passed to sky rendering functions.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public class BuiltinSkyParameters
Fields
cloudAmbientProbe
Ambient probe containing sky lighting to be used when rendering clouds
Declaration
public ComputeBuffer cloudAmbientProbe
Field Value
Type | Description |
---|---|
ComputeBuffer |
cloudOpacity
Fullscreen texture rendering 1.0f - opacity of the cloud
Declaration
public RTHandle cloudOpacity
Field Value
Type | Description |
---|---|
RTHandle |
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 |
---|---|
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 |
---|---|
RTHandle |
frameIndex
Current frame index.
Declaration
public int frameIndex
Field Value
Type | Description |
---|---|
int |
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 |
Methods
CopyTo(BuiltinSkyParameters)
Copy content of this BuiltinSkyParameters to another instance.
Declaration
public void CopyTo(BuiltinSkyParameters other)
Parameters
Type | Name | Description |
---|---|---|
BuiltinSkyParameters | other | Other instance to copy to. |