docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProbeRenderStepsExt

    Extension methods for ProbeRenderSteps.

    Inheritance
    object
    ProbeRenderStepsExt
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public static class ProbeRenderStepsExt

    Methods

    FromCubeFace(CubemapFace)

    Creates the render step for the given cubemap face.

    Declaration
    public static ProbeRenderSteps FromCubeFace(CubemapFace face)
    Parameters
    Type Name Description
    CubemapFace face

    The cubemap face.

    Returns
    Type Description
    ProbeRenderSteps

    The render step for the cubemap face, or planar if the face is unknown.

    FromProbeType(ProbeType)

    Creates the render steps for the given probe type.

    Declaration
    public static ProbeRenderSteps FromProbeType(ProbeSettings.ProbeType probeType)
    Parameters
    Type Name Description
    ProbeSettings.ProbeType probeType

    The probe type.

    Returns
    Type Description
    ProbeRenderSteps

    The render steps for the given probe type.

    HasCubeFace(ProbeRenderSteps, CubemapFace)

    Test if the bit for the given cubemap face is set.

    Declaration
    public static bool HasCubeFace(this ProbeRenderSteps steps, CubemapFace face)
    Parameters
    Type Name Description
    ProbeRenderSteps steps

    The probe rendering steps.

    CubemapFace face

    The cubemap face.

    Returns
    Type Description
    bool

    True if the cubemap face bit is set, false otherwise.

    IsNone(ProbeRenderSteps)

    Test if any bits are set.

    Declaration
    public static bool IsNone(this ProbeRenderSteps steps)
    Parameters
    Type Name Description
    ProbeRenderSteps steps

    The probe rendering steps.

    Returns
    Type Description
    bool

    True if any bits are set, false otherwise.

    LowestSetBit(ProbeRenderSteps)

    Extract the lowest set bit.

    Declaration
    public static ProbeRenderSteps LowestSetBit(this ProbeRenderSteps steps)
    Parameters
    Type Name Description
    ProbeRenderSteps steps

    The probe rendering steps.

    Returns
    Type Description
    ProbeRenderSteps

    The lowest set bit, or None.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)