Meta SDK2 Beta  2.7.0
Meta.HandInput.HandTrigger Class Reference

Will gather Meta HandFeature GameObjects when they enter and exit the Trigger on this GameObject. Use whenever you need to determine the entry and exit of the HandFeature into a particular area. More...

Inheritance diagram for Meta.HandInput.HandTrigger:

Public Member Functions

bool ContainsHand (HandFeature handFeature)
 Determines if HandTrigger contains hand. More...
 

Properties

int HandCount [get]
 Number of unique HandTypes (left, right) in Trigger. More...
 
HandTriggerEvent TwoHandEnterEvent [get]
 Called first time two HandFeatures on different hands enter HandVolume. More...
 
HandFeatureEvent HandFeatureEnterEvent [get]
 Called when any HandFeature enters HandVolume. More...
 
HandFeatureEvent FirstHandFeatureEnterEvent [get]
 Called when first HandFeature enters HandVolume. More...
 
HandTriggerEvent TwoHandExitEvent [get]
 Called when two HandFeatures from different hands are no longer in HandVolume. More...
 
HandFeatureEvent HandFeatureExitEvent [get]
 Called when any HandFeature exists HandVolume. More...
 
HandFeatureEvent LastHandFeatureExitEvent [get]
 Called when all HandFeatures have exited HandVolume. More...
 
List< HandFeatureHandFeatureList [get]
 All HandFeatures currently in volume. More...
 

Detailed Description

Will gather Meta HandFeature GameObjects when they enter and exit the Trigger on this GameObject. Use whenever you need to determine the entry and exit of the HandFeature into a particular area.

Member Function Documentation

◆ ContainsHand()

bool Meta.HandInput.HandTrigger.ContainsHand ( HandFeature  handFeature)
inline

Determines if HandTrigger contains hand.

Parameters
handFeatureHandFeature to find.
Returns
HandFeature if found, otherwise null.

Property Documentation

◆ FirstHandFeatureEnterEvent

HandFeatureEvent Meta.HandInput.HandTrigger.FirstHandFeatureEnterEvent
get

Called when first HandFeature enters HandVolume.

◆ HandCount

int Meta.HandInput.HandTrigger.HandCount
get

Number of unique HandTypes (left, right) in Trigger.

◆ HandFeatureEnterEvent

HandFeatureEvent Meta.HandInput.HandTrigger.HandFeatureEnterEvent
get

Called when any HandFeature enters HandVolume.

◆ HandFeatureExitEvent

HandFeatureEvent Meta.HandInput.HandTrigger.HandFeatureExitEvent
get

Called when any HandFeature exists HandVolume.

◆ HandFeatureList

List<HandFeature> Meta.HandInput.HandTrigger.HandFeatureList
get

All HandFeatures currently in volume.

◆ LastHandFeatureExitEvent

HandFeatureEvent Meta.HandInput.HandTrigger.LastHandFeatureExitEvent
get

Called when all HandFeatures have exited HandVolume.

◆ TwoHandEnterEvent

HandTriggerEvent Meta.HandInput.HandTrigger.TwoHandEnterEvent
get

Called first time two HandFeatures on different hands enter HandVolume.

◆ TwoHandExitEvent

HandTriggerEvent Meta.HandInput.HandTrigger.TwoHandExitEvent
get

Called when two HandFeatures from different hands are no longer in HandVolume.