Meta SDK2 Beta  2.7.0
Meta.HandInput.PalmStateMachine Class Reference

Class maintaining the palm's state. More...

Public Member Functions

 PalmStateMachine ()
 
PalmState MoveNext (PalmStateCommand palmStateCommand)
 Event to notify state machine to move onto next state. More...
 
void Initialize ()
 Initialization state machine More...
 

Properties

PalmState CurrentState [get]
 Current palm state getter. More...
 
Action OnGrabEnd [get, set]
 Event to get fired when grab ends More...
 
Action OnGrabStart [get, set]
 Event to get fired when grab starts More...
 
Action OnHoverEnter [get, set]
 Event to get fired when hover state starts More...
 
Action OnHoverExit [get, set]
 Event to get fired when hover state ends More...
 

Detailed Description

Class maintaining the palm's state.

Constructor & Destructor Documentation

◆ PalmStateMachine()

Meta.HandInput.PalmStateMachine.PalmStateMachine ( )
inline

Member Function Documentation

◆ Initialize()

void Meta.HandInput.PalmStateMachine.Initialize ( )
inline

Initialization state machine

◆ MoveNext()

PalmState Meta.HandInput.PalmStateMachine.MoveNext ( PalmStateCommand  palmStateCommand)
inline

Event to notify state machine to move onto next state.

Parameters
palmStateCommandCommand to exicute.
Returns
New palm state.

Property Documentation

◆ CurrentState

PalmState Meta.HandInput.PalmStateMachine.CurrentState
get

Current palm state getter.

◆ OnGrabEnd

Action Meta.HandInput.PalmStateMachine.OnGrabEnd
getset

Event to get fired when grab ends

◆ OnGrabStart

Action Meta.HandInput.PalmStateMachine.OnGrabStart
getset

Event to get fired when grab starts

◆ OnHoverEnter

Action Meta.HandInput.PalmStateMachine.OnHoverEnter
getset

Event to get fired when hover state starts

◆ OnHoverExit

Action Meta.HandInput.PalmStateMachine.OnHoverExit
getset

Event to get fired when hover state ends