Protected_ProtectedcameraProtectedconfigProtectedinteractionReadonlytargetingthe hit information InteractableHitInfo for the current interactable or null if there was no hit
end position in world space
Gets the normalized poke depth based on the tip-to-knuckle distance.
A normalized value (0-1) where 1 represents a poke depth equal to the tip-to-knuckle distance.
Gets the current poke depth - the distance between the index finger tip and the hit surface.
The poke depth in centimeters, or 0 if not currently poking an interactable.
origin position in world space
Set the _currentInteractableHitInfo to null, used when an Interactable is deleted from Lens Studio, to keep state in sync
ProtecteddeleteDestroys the provider
Staticgetlist of RayCastHit
targeting mode used to filter hits
function that is used to get the interactable associated to the collider (to enable the method to be static)
offset value that defines if the raycast was offset from the start point
camera used to verify FoV
whether interactions that are out of the camera's field of view are allowed
the hit corresponding to the target from the list of hits
ProtectedgetCalculates the interaction strength based on the distance traveled from the initial poke position. The strength is normalized between 0 and 1, where 0 represents no interaction and 1 represents maximum interaction strength when the distance threshold is reached.
A normalized value between 0 and 1 representing the interaction strength, or 0 if no interaction is active.
StaticgetThe nearest deeply nested interactable, is the latest descendant of a list of interactables, when they are ordered by distance.
list of hits
whether the provider has found a target or not
ProtectedisChecks if the poke target provider is available for use by verifying hand tracking state.
true if the hand is tracked, false otherwise.
whether the TargetProvider is intersecting with the Interactable
Determines whether the poke target provider is currently triggering an interaction.
true if there is a current interactable hit and the provider is actively triggering, false otherwise.
Recomputes the target
Protectedupdate
Hand based poke target provider. Uses a sphere cast from index mid joint to index tip