Interface IAffordanceStateReceiver<T>
Typed interface for affordance state receivers used to expose the typed functions and properties necessary for an affordance state receiver to work.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Receiver
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public interface IAffordanceStateReceiver<T> : IAffordanceStateReceiver where T : struct
Type Parameters
Name | Description |
---|---|
T | The type of the value struct. |
Properties
affordanceTheme
Affordance theme, used to map affordance state to a typed affordance value.
Declaration
BaseAffordanceTheme<T> affordanceTheme { get; }
Property Value
Type | Description |
---|---|
BaseAffordanceTheme<T> |
currentAffordanceValue
Bindable variable for current typed affordance value. Updated as scheduled tween jobs complete.
Declaration
IReadOnlyBindableVariable<T> currentAffordanceValue { get; }
Property Value
Type | Description |
---|---|
IReadOnlyBindableVariable<T> |