Tanoda
|
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...
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... | |
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.
void Leap.Unity.Interaction.IThrowHandler.OnHold | ( | InteractionBehaviour | intObj, |
ReadonlyList< InteractionController > | controllers | ||
) |
Called every FixedUpdate frame while an interaction object is being held.
intObj | The interaction object being held. |
hands | A list of the interaction controllers currently grasping the object. |
Implemented in Leap.Unity.Interaction.SlidingWindowThrow.
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.