Tanoda
Leap.Unity.Attachments.AttachmentPointBehaviour Class Reference

Simple container class for storing a reference to the attachment point this transform corresponds to within an AttachmentHand. Also contains mappings from a single AttachmentPointFlags flag constant to the relevant bone on a Leap.Hand; these mappings can be accessed statically via GetLeapHandPointData(). More...

Inheritance diagram for Leap.Unity.Attachments.AttachmentPointBehaviour:

Public Member Functions

void SetTransformUsingHand (Leap.Hand hand)
 

Static Public Member Functions

static implicit operator AttachmentPointFlags (AttachmentPointBehaviour p)
 
static void GetLeapHandPointData (Leap.Hand hand, AttachmentPointFlags singlePoint, out Vector3 position, out Quaternion rotation)
 

Public Attributes

AttachmentHand attachmentHand
 
AttachmentPointFlags attachmentPoint
 

Detailed Description

Simple container class for storing a reference to the attachment point this transform corresponds to within an AttachmentHand. Also contains mappings from a single AttachmentPointFlags flag constant to the relevant bone on a Leap.Hand; these mappings can be accessed statically via GetLeapHandPointData().

Can also be used to refer to a single AttachmentPointFlags flag constant (implicit conversion).

Definition at line 27 of file AttachmentPointBehaviour.cs.

Member Function Documentation

◆ GetLeapHandPointData()

static void Leap.Unity.Attachments.AttachmentPointBehaviour.GetLeapHandPointData ( Leap.Hand  hand,
AttachmentPointFlags  singlePoint,
out Vector3  position,
out Quaternion  rotation 
)
static

Definition at line 72 of file AttachmentPointBehaviour.cs.

◆ operator AttachmentPointFlags()

static implicit Leap.Unity.Attachments.AttachmentPointBehaviour.operator AttachmentPointFlags ( AttachmentPointBehaviour  p)
static

Definition at line 52 of file AttachmentPointBehaviour.cs.

◆ SetTransformUsingHand()

void Leap.Unity.Attachments.AttachmentPointBehaviour.SetTransformUsingHand ( Leap.Hand  hand)

Definition at line 57 of file AttachmentPointBehaviour.cs.

Member Data Documentation

◆ attachmentHand

AttachmentHand Leap.Unity.Attachments.AttachmentPointBehaviour.attachmentHand

Definition at line 32 of file AttachmentPointBehaviour.cs.

◆ attachmentPoint

AttachmentPointFlags Leap.Unity.Attachments.AttachmentPointBehaviour.attachmentPoint

Definition at line 37 of file AttachmentPointBehaviour.cs.


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