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.
Inherited Members
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 |