mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class ProximityLight.LightSettings

    Inheritance
    Object
    ProximityLight.LightSettings
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class LightSettings

    Properties

    CenterColor

    The color of the ProximityLight gradient at the center (RGB) and (A) is gradient extent.

    Declaration
    public Color CenterColor { get; set; }
    Property Value
    Type Description
    Color

    FarRadius

    Specifies the radius of the ProximityLight effect when far from a surface.

    Declaration
    public float FarRadius { get; set; }
    Property Value
    Type Description
    Single

    MiddleColor

    The color of the ProximityLight gradient at the center (RGB) and (A) is gradient extent.

    Declaration
    public Color MiddleColor { get; set; }
    Property Value
    Type Description
    Color

    MinNearSizePercentage

    When a ProximityLight is near, the smallest size percentage from the far size it can shrink to.

    Declaration
    public float MinNearSizePercentage { get; set; }
    Property Value
    Type Description
    Single

    NearDistance

    Specifies the distance a ProximityLight must be from a surface to be considered near.

    Declaration
    public float NearDistance { get; set; }
    Property Value
    Type Description
    Single

    NearRadius

    Specifies the radius of the ProximityLight effect when near to a surface.

    Declaration
    public float NearRadius { get; set; }
    Property Value
    Type Description
    Single

    OuterColor

    The color of the ProximityLight gradient at the center (RGB) and (A) is gradient extent.

    Declaration
    public Color OuterColor { get; set; }
    Property Value
    Type Description
    Color
    In This Article
    • Properties
      • CenterColor
      • FarRadius
      • MiddleColor
      • MinNearSizePercentage
      • NearDistance
      • NearRadius
      • OuterColor
    Back to top Generated by DocFX