ManoMotion SDK PRO  1.4.8
ManoMotion SDK PRO API documentation
TriggerGizmo Class Reference

Handles the visualization of the trigger gizmos. More...

Inheritance diagram for TriggerGizmo:

Public Member Functions

virtual void InitializeTriggerGizmo (ManoGestureTrigger triggerGesture)
 

Data Fields

float fadeSpeed = 20f
 
bool canExpand
 
Color clickColor
 

Private Member Functions

void OnEnable ()
 
void FixedUpdate ()
 
void FadeAndExpand ()
 

Private Attributes

float currentAlphaValue = 1f
 
Text triggerLabelText
 
Vector3 increaseScaleFactor
 
Color pickColor
 
Color dropColor
 
Color grabColor
 
Color releaseColor
 
Color swipeColor
 
Vector3 originalScale = Vector3.one * 0.5f
 

Detailed Description

Handles the visualization of the trigger gizmos.

Member Function Documentation

◆ FadeAndExpand()

void TriggerGizmo.FadeAndExpand ( )
inlineprivate

◆ FixedUpdate()

void TriggerGizmo.FixedUpdate ( )
inlineprivate

◆ InitializeTriggerGizmo()

virtual void TriggerGizmo.InitializeTriggerGizmo ( ManoGestureTrigger  triggerGesture)
inlinevirtual

◆ OnEnable()

void TriggerGizmo.OnEnable ( )
inlineprivate

Field Documentation

◆ canExpand

bool TriggerGizmo.canExpand

◆ clickColor

Color TriggerGizmo.clickColor

◆ currentAlphaValue

float TriggerGizmo.currentAlphaValue = 1f
private

◆ dropColor

Color TriggerGizmo.dropColor
private

◆ fadeSpeed

float TriggerGizmo.fadeSpeed = 20f

◆ grabColor

Color TriggerGizmo.grabColor
private

◆ increaseScaleFactor

Vector3 TriggerGizmo.increaseScaleFactor
private

◆ originalScale

Vector3 TriggerGizmo.originalScale = Vector3.one * 0.5f
private

◆ pickColor

Color TriggerGizmo.pickColor
private

◆ releaseColor

Color TriggerGizmo.releaseColor
private

◆ swipeColor

Color TriggerGizmo.swipeColor
private

◆ triggerLabelText

Text TriggerGizmo.triggerLabelText
private

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