ManoMotion Unity SDK 2.0
SDK documentation
Loading...
Searching...
No Matches
ManoMotion.Gizmos.TriggerGizmo Class Reference

Handles the visualization of the trigger gizmos.

Inheritance diagram for ManoMotion.Gizmos.TriggerGizmo:

Public Member Functions

void SetScale (Vector3 scale)
 
virtual void InitializeTriggerGizmo (ManoGestureTrigger triggerGesture)
 
void StartFading ()
 

Private Member Functions

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

Private Attributes

AnimationCurve fadeAnimation
 
float fadeTime = 2f
 
Color clickColor
 
Color pickColor
 
Color dropColor
 
Color grabColor
 
Color releaseColor
 
Color swipeColor
 
float currentAlphaValue = 1f
 
float currentFadeTime = 0
 
bool isFading
 
TextMeshProUGUI triggerLabelText
 
Vector3 originalScale
 
bool stayOnScreen = false
 

Member Function Documentation

◆ Awake()

void ManoMotion.Gizmos.TriggerGizmo.Awake ( )
inlineprivate

◆ FadeAndExpand()

void ManoMotion.Gizmos.TriggerGizmo.FadeAndExpand ( )
inlineprivate

◆ FixedUpdate()

void ManoMotion.Gizmos.TriggerGizmo.FixedUpdate ( )
inlineprivate

◆ InitializeTriggerGizmo()

virtual void ManoMotion.Gizmos.TriggerGizmo.InitializeTriggerGizmo ( ManoGestureTrigger triggerGesture)
inlinevirtual

◆ OnEnable()

void ManoMotion.Gizmos.TriggerGizmo.OnEnable ( )
inlineprivate

◆ SetScale()

void ManoMotion.Gizmos.TriggerGizmo.SetScale ( Vector3 scale)
inline

◆ StartFading()

void ManoMotion.Gizmos.TriggerGizmo.StartFading ( )
inline

Member Data Documentation

◆ clickColor

Color ManoMotion.Gizmos.TriggerGizmo.clickColor
private

◆ currentAlphaValue

float ManoMotion.Gizmos.TriggerGizmo.currentAlphaValue = 1f
private

◆ currentFadeTime

float ManoMotion.Gizmos.TriggerGizmo.currentFadeTime = 0
private

◆ dropColor

Color ManoMotion.Gizmos.TriggerGizmo.dropColor
private

◆ fadeAnimation

AnimationCurve ManoMotion.Gizmos.TriggerGizmo.fadeAnimation
private

◆ fadeTime

float ManoMotion.Gizmos.TriggerGizmo.fadeTime = 2f
private

◆ grabColor

Color ManoMotion.Gizmos.TriggerGizmo.grabColor
private

◆ isFading

bool ManoMotion.Gizmos.TriggerGizmo.isFading
private

◆ originalScale

Vector3 ManoMotion.Gizmos.TriggerGizmo.originalScale
private

◆ pickColor

Color ManoMotion.Gizmos.TriggerGizmo.pickColor
private

◆ releaseColor

Color ManoMotion.Gizmos.TriggerGizmo.releaseColor
private

◆ stayOnScreen

bool ManoMotion.Gizmos.TriggerGizmo.stayOnScreen = false
private

◆ swipeColor

Color ManoMotion.Gizmos.TriggerGizmo.swipeColor
private

◆ triggerLabelText

TextMeshProUGUI ManoMotion.Gizmos.TriggerGizmo.triggerLabelText
private