Show / Hide Table of Contents

    Class InteractableShaderTheme

    Inheritance
    Object
    InteractableThemeBase
    InteractableShaderTheme
    InteractableColorChildrenTheme
    InteractableColorTheme
    Inherited Members
    InteractableThemeBase.Types
    InteractableThemeBase.Name
    InteractableThemeBase.ThemeProperties
    InteractableThemeBase.CustomSettings
    InteractableThemeBase.Host
    InteractableThemeBase.Ease
    InteractableThemeBase.NoEasing
    InteractableThemeBase.Loaded
    InteractableThemeBase.AssemblyQualifiedName
    InteractableThemeBase.LerpFloat(Single, Single, Single)
    InteractableThemeBase.LerpInt(Int32, Int32, Single)
    InteractableThemeBase.CopyEase(Easing)
    InteractableThemeBase.OnUpdate(Int32, Interactable, Boolean)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class InteractableShaderTheme : InteractableThemeBase

    Constructors

    InteractableShaderTheme()

    Declaration
    public InteractableShaderTheme()

    Fields

    propertyBlock

    Declaration
    protected MaterialPropertyBlock propertyBlock
    Field Value
    Type Description
    MaterialPropertyBlock

    renderer

    Declaration
    protected Renderer renderer
    Field Value
    Type Description
    Renderer

    shaderProperties

    Declaration
    protected List<ShaderProperties> shaderProperties
    Field Value
    Type Description
    List<ShaderProperties>

    Methods

    GetColor(GameObject, Int32)

    Declaration
    public static Color GetColor(GameObject host, int propId)
    Parameters
    Type Name Description
    GameObject host
    Int32 propId
    Returns
    Type Description
    Color

    GetFloat(GameObject, Int32)

    Declaration
    public static float GetFloat(GameObject host, int propId)
    Parameters
    Type Name Description
    GameObject host
    Int32 propId
    Returns
    Type Description
    Single

    GetProperty(InteractableThemeProperty)

    Declaration
    public override InteractableThemePropertyValue GetProperty(InteractableThemeProperty property)
    Parameters
    Type Name Description
    InteractableThemeProperty property
    Returns
    Type Description
    InteractableThemePropertyValue
    Overrides
    InteractableThemeBase.GetProperty(InteractableThemeProperty)

    Init(GameObject, InteractableThemePropertySettings)

    Declaration
    public override void Init(GameObject host, InteractableThemePropertySettings settings)
    Parameters
    Type Name Description
    GameObject host
    InteractableThemePropertySettings settings
    Overrides
    InteractableThemeBase.Init(GameObject, InteractableThemePropertySettings)

    SetColor(MaterialPropertyBlock, Color, Int32)

    Declaration
    public static MaterialPropertyBlock SetColor(MaterialPropertyBlock block, Color color, int propId)
    Parameters
    Type Name Description
    MaterialPropertyBlock block
    Color color
    Int32 propId
    Returns
    Type Description
    MaterialPropertyBlock

    SetFloat(MaterialPropertyBlock, Single, Int32)

    Declaration
    public static MaterialPropertyBlock SetFloat(MaterialPropertyBlock block, float value, int propId)
    Parameters
    Type Name Description
    MaterialPropertyBlock block
    Single value
    Int32 propId
    Returns
    Type Description
    MaterialPropertyBlock

    SetPropertyBlock(GameObject, MaterialPropertyBlock)

    Declaration
    public static void SetPropertyBlock(GameObject host, MaterialPropertyBlock block)
    Parameters
    Type Name Description
    GameObject host
    MaterialPropertyBlock block

    SetValue(InteractableThemeProperty, Int32, Single)

    Declaration
    public override void SetValue(InteractableThemeProperty property, int index, float percentage)
    Parameters
    Type Name Description
    InteractableThemeProperty property
    Int32 index
    Single percentage
    Overrides
    InteractableThemeBase.SetValue(InteractableThemeProperty, Int32, Single)
    Back to top Generated by DocFX