Class SkyManager
Syntax
Constructors
SkyManager()
Declaration
Properties
skyReflection
Declaration
public Texture skyReflection { get; }
Property Value
skyTypesDict
Declaration
public static Dictionary<int, Type> skyTypesDict { get; }
Property Value
Methods
Build(HDRenderPipelineAsset, IBLFilterBSDF[])
Declaration
public void Build(HDRenderPipelineAsset hdAsset, IBLFilterBSDF[] iblFilterBSDFArray)
Parameters
Cleanup()
Declaration
ExportSkyToTexture()
Declaration
public Texture2D ExportSkyToTexture()
Returns
| Type |
Description |
| Texture2D |
|
Finalize()
Declaration
protected void Finalize()
GetStaticLightingSky()
Declaration
public static StaticLightingSky GetStaticLightingSky()
Returns
IsLightingSkyValid()
Declaration
public bool IsLightingSkyValid()
Returns
IsVisualSkyValid()
Declaration
public bool IsVisualSkyValid()
Returns
RegisterStaticLightingSky(StaticLightingSky)
Declaration
public static void RegisterStaticLightingSky(StaticLightingSky staticLightingSky)
Parameters
RenderOpaqueAtmosphericScattering(CommandBuffer, HDCamera, RTHandleSystem.RTHandle, RTHandleSystem.RTHandle, Matrix4x4, Boolean)
Declaration
public void RenderOpaqueAtmosphericScattering(CommandBuffer cmd, HDCamera hdCamera, RTHandleSystem.RTHandle colorBuffer, RTHandleSystem.RTHandle depthBuffer, Matrix4x4 pixelCoordToViewDirWS, bool isMSAA)
Parameters
RenderSky(HDCamera, Light, RTHandleSystem.RTHandle, RTHandleSystem.RTHandle, DebugDisplaySettings, CommandBuffer)
Declaration
public void RenderSky(HDCamera camera, Light sunLight, RTHandleSystem.RTHandle colorBuffer, RTHandleSystem.RTHandle depthBuffer, DebugDisplaySettings debugSettings, CommandBuffer cmd)
Parameters
RequestEnvironmentUpdate()
Declaration
public void RequestEnvironmentUpdate()
SetGlobalSkyTexture(CommandBuffer)
Declaration
public void SetGlobalSkyTexture(CommandBuffer cmd)
Parameters
| Type |
Name |
Description |
| CommandBuffer |
cmd |
|
UnRegisterStaticLightingSky(StaticLightingSky)
Declaration
public static void UnRegisterStaticLightingSky(StaticLightingSky staticLightingSky)
Parameters
UpdateCurrentSkySettings(HDCamera)
Declaration
public void UpdateCurrentSkySettings(HDCamera hdCamera)
Parameters
UpdateEnvironment(HDCamera, Light, CommandBuffer)
Declaration
public void UpdateEnvironment(HDCamera hdCamera, Light sunLight, CommandBuffer cmd)
Parameters
| Type |
Name |
Description |
| HDCamera |
hdCamera |
|
| Light |
sunLight |
|
| CommandBuffer |
cmd |
|