Tanoda
Leap.Unity.Interaction.IThrowHandler Interface Reference

Interaction objects feed their throw handlers callbacks when they are held (for data collection) and then fire OnThrow when they are released from all grasping hands or controllers so that the throw handler can manipulate the interaction object's trajectory to better match the user's intention. More...

Inheritance diagram for Leap.Unity.Interaction.IThrowHandler:
Leap.Unity.Interaction.SlidingWindowThrow

Public Member Functions

void OnHold (InteractionBehaviour intObj, ReadonlyList< InteractionController > controllers)
 Called every FixedUpdate frame while an interaction object is being held. More...
 
void OnThrow (InteractionBehaviour intObj, InteractionController controller)
 Called when an Interaction object is released by the last interaction controller holding it. More...
 

Detailed Description

Interaction objects feed their throw handlers callbacks when they are held (for data collection) and then fire OnThrow when they are released from all grasping hands or controllers so that the throw handler can manipulate the interaction object's trajectory to better match the user's intention.

Definition at line 19 of file IThrowHandler.cs.

Member Function Documentation

◆ OnHold()

void Leap.Unity.Interaction.IThrowHandler.OnHold ( InteractionBehaviour  intObj,
ReadonlyList< InteractionController controllers 
)

Called every FixedUpdate frame while an interaction object is being held.

Parameters
intObjThe interaction object being held.
handsA list of the interaction controllers currently grasping the object.

Implemented in Leap.Unity.Interaction.SlidingWindowThrow.

◆ OnThrow()

void Leap.Unity.Interaction.IThrowHandler.OnThrow ( InteractionBehaviour  intObj,
InteractionController  controller 
)

Called when an Interaction object is released by the last interaction controller holding it.

Implemented in Leap.Unity.Interaction.SlidingWindowThrow.


The documentation for this interface was generated from the following file: