Show / Hide Table of Contents

    Struct RuntimeRenderSettings

    A struct that mimics the render settings stored in a scene. Used to store, retrieve and interpolate render settings. Omits any editor-only settings, as well as some settings that are seldom used.

    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
    [Serializable]
    public struct RuntimeRenderSettings

    Fields

    AmbientEquatorColor

    Declaration
    public Color AmbientEquatorColor
    Field Value
    Type Description
    Color

    AmbientGroundColor

    Declaration
    public Color AmbientGroundColor
    Field Value
    Type Description
    Color

    AmbientIntensity

    Declaration
    public float AmbientIntensity
    Field Value
    Type Description
    Single

    AmbientLight

    Declaration
    public Color AmbientLight
    Field Value
    Type Description
    Color

    AmbientMode

    Declaration
    public int AmbientMode
    Field Value
    Type Description
    Int32

    AmbientSkyColor

    Declaration
    public Color AmbientSkyColor
    Field Value
    Type Description
    Color

    CustomReflection

    Declaration
    public Cubemap CustomReflection
    Field Value
    Type Description
    Cubemap

    DefaultReflectionMode

    Declaration
    public DefaultReflectionMode DefaultReflectionMode
    Field Value
    Type Description
    DefaultReflectionMode

    DefaultReflectionResolution

    Declaration
    public int DefaultReflectionResolution
    Field Value
    Type Description
    Int32

    Fog

    Declaration
    public bool Fog
    Field Value
    Type Description
    Boolean

    FogColor

    Declaration
    public Color FogColor
    Field Value
    Type Description
    Color

    FogDensity

    Declaration
    public float FogDensity
    Field Value
    Type Description
    Single

    FogMode

    Declaration
    public FogMode FogMode
    Field Value
    Type Description
    FogMode

    LinearFogEnd

    Declaration
    public float LinearFogEnd
    Field Value
    Type Description
    Single

    LinearFogStart

    Declaration
    public float LinearFogStart
    Field Value
    Type Description
    Single

    ReflectionBounces

    Declaration
    public int ReflectionBounces
    Field Value
    Type Description
    Int32

    ReflectionIntensity

    Declaration
    public float ReflectionIntensity
    Field Value
    Type Description
    Single

    SkyboxMaterial

    Declaration
    public Material SkyboxMaterial
    Field Value
    Type Description
    Material

    SubtractiveShadowColor

    Declaration
    public Color SubtractiveShadowColor
    Field Value
    Type Description
    Color

    UseRadianceAmbientProbe

    Declaration
    public bool UseRadianceAmbientProbe
    Field Value
    Type Description
    Boolean

    Methods

    Black(RuntimeRenderSettings)

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

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

    Lerp(RuntimeRenderSettings, RuntimeRenderSettings, Single)

    Lerps between two settings

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

    Value from 0 to 1

    Returns
    Type Description
    RuntimeRenderSettings
    Back to top Generated by DocFX