docs.unity3d.com
    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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Theme
    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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, May 5, 2023