Tanoda
Leap.Unity.Interaction.IGraspedMovementHandler Interface Reference

An IGraspedMovementHandler takes in a target position and rotation (a "pose", usually provided by an IGraspedPoseHandler) and is responsible for attempting to move an interaction object to that target pose. More...

Inheritance diagram for Leap.Unity.Interaction.IGraspedMovementHandler:
Leap.Unity.Interaction.KinematicGraspedMovement Leap.Unity.Interaction.NonKinematicGraspedMovement

Public Member Functions

void MoveTo (Vector3 solvedPosition, Quaternion solvedRotation, InteractionBehaviour interactionObj, bool justGrasped)
 Called by an interaction object when its grasped pose handler has determined a target pose; this method should attempt to move the interaction object to match that pose. More...
 

Detailed Description

An IGraspedMovementHandler takes in a target position and rotation (a "pose", usually provided by an IGraspedPoseHandler) and is responsible for attempting to move an interaction object to that target pose.

Definition at line 20 of file IGraspedMovementHandler.cs.

Member Function Documentation

◆ MoveTo()

void Leap.Unity.Interaction.IGraspedMovementHandler.MoveTo ( Vector3  solvedPosition,
Quaternion  solvedRotation,
InteractionBehaviour  interactionObj,
bool  justGrasped 
)

Called by an interaction object when its grasped pose handler has determined a target pose; this method should attempt to move the interaction object to match that pose.

Implemented in Leap.Unity.Interaction.KinematicGraspedMovement, and Leap.Unity.Interaction.NonKinematicGraspedMovement.


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