Struct PokeStateData
Holds information used for poke interaction affordances.
Assembly: Unity.XR.Interaction.Toolkit.dll
public struct PokeStateData : IEquatable<PokeStateData>
Properties
Declaration
public Vector3 axisAlignedPokeInteractionPoint { readonly get; set; }
Property Value
The interaction axis used for poking.
Declaration
public Vector3 axisNormal { readonly get; set; }
Property Value
The amount the poke interaction is currently selecting the interactable between 0 and 1.
Declaration
public float interactionStrength { readonly get; set; }
Property Value
Signifies whether the current event meets requirements for poking.
Declaration
public bool meetsRequirements { readonly get; set; }
Property Value
The Vector3 point where the current interaction is being evaluated.
Declaration
public Vector3 pokeInteractionPoint { readonly get; set; }
Property Value
This is the current target hit by the XRPokeInteractor that this state data is relevant for.
Declaration
public Transform target { readonly get; set; }
Property Value
Methods
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
Declaration
public bool Equals(PokeStateData other)
Parameters
Returns
Declaration
public override int GetHashCode()
Returns
Overrides
Implements