docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AffordanceThemeData<T>

    Affordance state theme data structure for blended affordances. Represents the initial and target value that will be animated towards for an affordance state during interactions.

    Inheritance
    object
    AffordanceThemeData<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Theme
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    [Serializable]
    public sealed class AffordanceThemeData<T>
    Type Parameters
    Name Description
    T

    Serialized type used in affordance blending.

    Fields

    animationStateEndValue

    Target value for the curve at 1.

    Declaration
    [Tooltip("Target value for the curve at 1.")]
    public T animationStateEndValue
    Field Value
    Type Description
    T

    animationStateStartValue

    Target value for the curve at 0.

    Declaration
    [Tooltip("Target value for the curve at 0")]
    public T animationStateStartValue
    Field Value
    Type Description
    T

    stateName

    Name of the affordance state the theme data is for. This value is optional and does not serve a functional purpose.

    Declaration
    [Tooltip("Name of the affordance state the theme data is for.\nThis value is optional and does not serve a functional purpose.")]
    public string stateName
    Field Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)