Interface IMultiPokeStateDataProvider
Multiplexed version of IPokeStateDataProvider that allows for multiple targets to be tracked with their own bindable poke state data.
Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.State
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public interface IMultiPokeStateDataProvider
Methods
GetPokeStateDataForTarget(Transform)
Return the bindable variable holding poke state data associated to the parameterized target transform.
Declaration
IReadOnlyBindableVariable<PokeStateData> GetPokeStateDataForTarget(Transform target)
Parameters
Type | Name | Description |
---|---|---|
Transform | target | Target transform to track. |
Returns
Type | Description |
---|---|
IReadOnlyBindableVariable<PokeStateData> | Bindable variable holding poke state data associated to the parameterized target transform. |