docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ToLightEstimation

    ToLightEstimation(Feature)

    Converts a Feature to a LightEstimation enum by extracting the relevant light estimation bits from self.

    Declaration
    public static LightEstimation ToLightEstimation(this Feature self)
    Parameters
    Type Name Description
    Feature self

    The Feature being extended.

    Returns
    Type Description
    LightEstimation

    A LightEstimation representation of the relevant Feature bits.

    ToLightEstimation(LightEstimationMode)

    Convert the deprecated LightEstimationMode to LightEstimation.

    Declaration
    [Obsolete("LightEstimationMode is deprecated. (2023-02-22)")]
    public static LightEstimation ToLightEstimation(this LightEstimationMode mode)
    Parameters
    Type Name Description
    LightEstimationMode mode

    The LightEstimationMode to convert.

    Returns
    Type Description
    LightEstimation

    The LightEstimation representation of the LightEstimationMode.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023