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
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023