Tanoda
Leap.Unity.Examples.TransformTool Class Reference
Inheritance diagram for Leap.Unity.Examples.TransformTool:

Public Member Functions

void NotifyHandleMovement (Vector3 deltaPosition)
 Transform handles call this method to notify the tool that they were used to move the target object. More...
 
void NotifyHandleRotation (Quaternion deltaRotation)
 Transform handles call this method to notify the tool that they were used to rotate the target object. More...
 
void NotifyHandleActivated (TransformHandle handle)
 Called by handles when they are grasped. More...
 
void NotifyHandleDeactivated (TransformHandle handle)
 Called by Handles when they are released. More...
 

Public Attributes

InteractionManager interactionManager
 
Transform target
 

Detailed Description

Definition at line 19 of file TransformTool.cs.

Member Function Documentation

◆ NotifyHandleActivated()

void Leap.Unity.Examples.TransformTool.NotifyHandleActivated ( TransformHandle  handle)

Called by handles when they are grasped.

Parameters
handle

Definition at line 179 of file TransformTool.cs.

◆ NotifyHandleDeactivated()

void Leap.Unity.Examples.TransformTool.NotifyHandleDeactivated ( TransformHandle  handle)

Called by Handles when they are released.

Definition at line 214 of file TransformTool.cs.

◆ NotifyHandleMovement()

void Leap.Unity.Examples.TransformTool.NotifyHandleMovement ( Vector3  deltaPosition)

Transform handles call this method to notify the tool that they were used to move the target object.

Definition at line 64 of file TransformTool.cs.

◆ NotifyHandleRotation()

void Leap.Unity.Examples.TransformTool.NotifyHandleRotation ( Quaternion  deltaRotation)

Transform handles call this method to notify the tool that they were used to rotate the target object.

Definition at line 72 of file TransformTool.cs.

Member Data Documentation

◆ interactionManager

InteractionManager Leap.Unity.Examples.TransformTool.interactionManager

Definition at line 23 of file TransformTool.cs.

◆ target

Transform Leap.Unity.Examples.TransformTool.target

Definition at line 26 of file TransformTool.cs.


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