docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MRLightEstimation

    Provides a template for light estimation data

    Implements
    IEquatable<MRLightEstimation>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.MARS.Data
    Assembly: Unity.MARS.Interfaces.dll
    Syntax
    [Serializable]
    [MovedFrom("Unity.MARS")]
    public struct MRLightEstimation : IEquatable<MRLightEstimation>

    Fields

    m_AmbientBrightness

    Declaration
    [SerializeField]
    public float? m_AmbientBrightness
    Field Value
    Type Description
    float?

    m_AmbientColorTemperature

    Declaration
    [SerializeField]
    public float? m_AmbientColorTemperature
    Field Value
    Type Description
    float?

    m_AmbientIntensityInLumens

    Declaration
    [SerializeField]
    public float? m_AmbientIntensityInLumens
    Field Value
    Type Description
    float?

    m_ColorCorrection

    Declaration
    [SerializeField]
    public Color? m_ColorCorrection
    Field Value
    Type Description
    Color?

    m_MainLightBrightness

    Declaration
    [SerializeField]
    public float? m_MainLightBrightness
    Field Value
    Type Description
    float?

    m_MainLightColor

    Declaration
    [SerializeField]
    public Color? m_MainLightColor
    Field Value
    Type Description
    Color?

    m_MainLightDirection

    Declaration
    [SerializeField]
    public Vector3? m_MainLightDirection
    Field Value
    Type Description
    Vector3?

    m_MainLightIntensityLumens

    Declaration
    [SerializeField]
    public float? m_MainLightIntensityLumens
    Field Value
    Type Description
    float?

    m_SphericalHarmonics

    Declaration
    [SerializeField]
    public SphericalHarmonicsL2? m_SphericalHarmonics
    Field Value
    Type Description
    SphericalHarmonicsL2?

    Methods

    AreLightsEqual(MRLightEstimation)

    Declaration
    [Obsolete]
    public bool AreLightsEqual(MRLightEstimation other)
    Parameters
    Type Name Description
    MRLightEstimation other
    Returns
    Type Description
    bool

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    Equals(MRLightEstimation)

    Declaration
    public bool Equals(MRLightEstimation other)
    Parameters
    Type Name Description
    MRLightEstimation other
    Returns
    Type Description
    bool

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(MRLightEstimation, MRLightEstimation)

    Declaration
    public static bool operator ==(MRLightEstimation left, MRLightEstimation right)
    Parameters
    Type Name Description
    MRLightEstimation left
    MRLightEstimation right
    Returns
    Type Description
    bool

    operator !=(MRLightEstimation, MRLightEstimation)

    Declaration
    public static bool operator !=(MRLightEstimation left, MRLightEstimation right)
    Parameters
    Type Name Description
    MRLightEstimation left
    MRLightEstimation right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 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)