Class SkyManager | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class SkyManager

    Inheritance
    Object
    SkyManager
    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    public class SkyManager

    Constructors

    SkyManager()

    Declaration
    public SkyManager()

    Properties

    skyReflection

    Declaration
    public Texture skyReflection { get; }
    Property Value
    Type Description
    Texture

    skyTypesDict

    Declaration
    public static Dictionary<int, Type> skyTypesDict { get; }
    Property Value
    Type Description
    Dictionary<Int32, Type>

    Methods

    Build(HDRenderPipelineAsset, IBLFilterBSDF[])

    Declaration
    public void Build(HDRenderPipelineAsset hdAsset, IBLFilterBSDF[] iblFilterBSDFArray)
    Parameters
    Type Name Description
    HDRenderPipelineAsset hdAsset
    IBLFilterBSDF[] iblFilterBSDFArray

    Cleanup()

    Declaration
    public void Cleanup()

    ExportSkyToTexture()

    Declaration
    public Texture2D ExportSkyToTexture()
    Returns
    Type Description
    Texture2D

    Finalize()

    Declaration
    protected void Finalize()

    GetStaticLightingSky()

    Declaration
    public static StaticLightingSky GetStaticLightingSky()
    Returns
    Type Description
    StaticLightingSky

    IsLightingSkyValid()

    Declaration
    public bool IsLightingSkyValid()
    Returns
    Type Description
    Boolean

    IsVisualSkyValid()

    Declaration
    public bool IsVisualSkyValid()
    Returns
    Type Description
    Boolean

    RegisterStaticLightingSky(StaticLightingSky)

    Declaration
    public static void RegisterStaticLightingSky(StaticLightingSky staticLightingSky)
    Parameters
    Type Name Description
    StaticLightingSky staticLightingSky

    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
    Type Name Description
    CommandBuffer cmd
    HDCamera hdCamera
    RTHandleSystem.RTHandle colorBuffer
    RTHandleSystem.RTHandle depthBuffer
    Matrix4x4 pixelCoordToViewDirWS
    Boolean isMSAA

    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
    Type Name Description
    HDCamera camera
    Light sunLight
    RTHandleSystem.RTHandle colorBuffer
    RTHandleSystem.RTHandle depthBuffer
    DebugDisplaySettings debugSettings
    CommandBuffer cmd

    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
    Type Name Description
    StaticLightingSky staticLightingSky

    UpdateCurrentSkySettings(HDCamera)

    Declaration
    public void UpdateCurrentSkySettings(HDCamera hdCamera)
    Parameters
    Type Name Description
    HDCamera hdCamera

    UpdateEnvironment(HDCamera, Light, CommandBuffer)

    Declaration
    public void UpdateEnvironment(HDCamera hdCamera, Light sunLight, CommandBuffer cmd)
    Parameters
    Type Name Description
    HDCamera hdCamera
    Light sunLight
    CommandBuffer cmd
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023