mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Struct RuntimeLightingSettings

    A struct that mimics the lighting settings stored in a scene. Used to store, retrieve and interpolate lighting settings. Omits any editor-only settings.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.SceneSystem
    Assembly: cs.temp.dll.dll
    Syntax
    public struct RuntimeLightingSettings

    Fields

    AlbedoBoost

    Declaration
    public float AlbedoBoost
    Field Value
    Type Description
    Single

    AlbedoBoost

    Declaration
    public float AlbedoBoost
    Field Value
    Type Description
    Single

    BounceScale

    Declaration
    public float BounceScale
    Field Value
    Type Description
    Single

    BounceScale

    Declaration
    public float BounceScale
    Field Value
    Type Description
    Single

    EnableBakedLightmaps

    Declaration
    public bool EnableBakedLightmaps
    Field Value
    Type Description
    Boolean

    EnableBakedLightmaps

    Declaration
    public bool EnableBakedLightmaps
    Field Value
    Type Description
    Boolean

    EnabledRealtimeLightmaps

    Declaration
    public bool EnabledRealtimeLightmaps
    Field Value
    Type Description
    Boolean

    EnabledRealtimeLightmaps

    Declaration
    public bool EnabledRealtimeLightmaps
    Field Value
    Type Description
    Boolean

    EnvironmentLightingMode

    Declaration
    public MixedLightingMode EnvironmentLightingMode
    Field Value
    Type Description
    MixedLightingMode

    EnvironmentLightingMode

    Declaration
    public MixedLightingMode EnvironmentLightingMode
    Field Value
    Type Description
    MixedLightingMode

    IndirectOutputScale

    Declaration
    public float IndirectOutputScale
    Field Value
    Type Description
    Single

    IndirectOutputScale

    Declaration
    public float IndirectOutputScale
    Field Value
    Type Description
    Single

    Methods

    Black(RuntimeLightingSettings)

    Sets continuous settings to 'black' without changing any discrete features.

    Declaration
    public static RuntimeLightingSettings Black(RuntimeLightingSettings source)
    Parameters
    Type Name Description
    RuntimeLightingSettings source
    Returns
    Type Description
    RuntimeLightingSettings

    Black(RuntimeLightingSettings)

    Sets continuous settings to 'black' without changing any discrete features.

    Declaration
    public static RuntimeLightingSettings Black(RuntimeLightingSettings source)
    Parameters
    Type Name Description
    RuntimeLightingSettings source
    Returns
    Type Description
    RuntimeLightingSettings

    Lerp(RuntimeLightingSettings, RuntimeLightingSettings, Single)

    Lerps between two settings

    Declaration
    public static RuntimeLightingSettings Lerp(RuntimeLightingSettings from, RuntimeLightingSettings to, float t)
    Parameters
    Type Name Description
    RuntimeLightingSettings from
    RuntimeLightingSettings to
    Single t

    Value from 0 to 1

    Returns
    Type Description
    RuntimeLightingSettings

    Lerp(RuntimeLightingSettings, RuntimeLightingSettings, Single)

    Lerps between two settings

    Declaration
    public static RuntimeLightingSettings Lerp(RuntimeLightingSettings from, RuntimeLightingSettings to, float t)
    Parameters
    Type Name Description
    RuntimeLightingSettings from
    RuntimeLightingSettings to
    Single t

    Value from 0 to 1

    Returns
    Type Description
    RuntimeLightingSettings
    In This Article
    • Fields
      • AlbedoBoost
      • AlbedoBoost
      • BounceScale
      • BounceScale
      • EnableBakedLightmaps
      • EnableBakedLightmaps
      • EnabledRealtimeLightmaps
      • EnabledRealtimeLightmaps
      • EnvironmentLightingMode
      • EnvironmentLightingMode
      • IndirectOutputScale
      • IndirectOutputScale
    • Methods
      • Black(RuntimeLightingSettings)
      • Black(RuntimeLightingSettings)
      • Lerp(RuntimeLightingSettings, RuntimeLightingSettings, Single)
      • Lerp(RuntimeLightingSettings, RuntimeLightingSettings, Single)
    Back to top Generated by DocFX