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 InteractableTextureTheme

    Theme Engine to change the texture on a GameObject based on state changes

    Inheritance
    Object
    InteractableThemeBase
    InteractableShaderTheme
    InteractableTextureTheme
    Inherited Members
    InteractableShaderTheme.AreShadersSupported
    InteractableShaderTheme.propertyBlock
    InteractableShaderTheme.shaderProperties
    InteractableShaderTheme.renderer
    InteractableShaderTheme.Init(GameObject, ThemeDefinition)
    InteractableShaderTheme.GetProperty(ThemeStateProperty)
    InteractableShaderTheme.SetValue(ThemeStateProperty, Int32, Single)
    InteractableShaderTheme.SetValue(ThemeStateProperty, ThemePropertyValue)
    InteractableShaderTheme.GetFloat(GameObject, Int32)
    InteractableShaderTheme.GetColor(GameObject, Int32)
    InteractableThemeBase.Types
    InteractableThemeBase.Name
    InteractableThemeBase.StateProperties
    InteractableThemeBase.Properties
    InteractableThemeBase.Host
    InteractableThemeBase.Ease
    InteractableThemeBase.Loaded
    InteractableThemeBase.originalStateValues
    InteractableThemeBase.CreateTheme(Type)
    InteractableThemeBase.CreateAndInitTheme(ThemeDefinition, GameObject)
    InteractableThemeBase.Reset()
    InteractableThemeBase.OnUpdate(Int32, Boolean)
    InteractableThemeBase.LerpFloat(Single, Single, Single)
    InteractableThemeBase.LerpInt(Int32, Int32, Single)
    InteractableThemeBase.GetThemeProperty(Int32)
    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 InteractableTextureTheme : InteractableShaderTheme

    Constructors

    InteractableTextureTheme()

    Declaration
    public InteractableTextureTheme()

    Fields

    DefaultShaderProperty

    Declaration
    protected const string DefaultShaderProperty = "_MainTex"
    Field Value
    Type Description
    String

    Properties

    IsEasingSupported

    Indicates whether the current Theme engine implementation supports easing between state values

    Declaration
    public override bool IsEasingSupported { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    InteractableThemeBase.IsEasingSupported

    Methods

    GetDefaultThemeDefinition()

    Generates the default theme definition configuration for the current theme implementation

    Declaration
    public override ThemeDefinition GetDefaultThemeDefinition()
    Returns
    Type Description
    ThemeDefinition

    Default ThemeDefinition to initialize with the current theme engine implementation

    Overrides
    InteractableShaderTheme.GetDefaultThemeDefinition()
    In This Article
    Back to top Generated by DocFX