Struct PokeStateData
Holds information used for poke interaction affordances.
Implements
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.Filtering
Assembly: solution.dll
Syntax
public struct PokeStateData : IEquatable<PokeStateData>
Properties
| Name | Description |
|---|---|
| axisAlignedPokeInteractionPoint | The Vector3 point along the axis of interaction based on the pokeInteractionPoint, current poke depth, normal vector to the axis of interaction, and the offset based on the interactionDepthOffset. |
| axisNormal | The interaction axis used for poking. |
| interactionStrength | The amount the poke interaction is currently selecting the interactable between 0 and 1. |
| meetsRequirements | Signifies whether the current event meets requirements for poking. |
| pokeInteractionPoint | The Vector3 point where the current interaction is being evaluated. |
| target | This is the current target hit by the XRPokeInteractor that this state data is relevant for. |
Methods
| Name | Description |
|---|---|
| Equals(object) | Indicates whether this instance and a specified object are equal. |
| Equals(PokeStateData) | Indicates whether the current object is equal to another object of the same type. |
| GetHashCode() | Returns the hash code for this instance. |