docs.unity.cn
    Show / Hide Table of Contents

    Class ProbeRenderStepsExt

    Extension methods for ProbeRenderSteps.

    Inheritance
    Object
    ProbeRenderStepsExt
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.HighDefinition
    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(ProbeSettings.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
    Boolean

    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
    Boolean

    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 August 2023