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

Displays a line between start/stop gesture triggers. Like grab and release.

Inheritance diagram for ManoMotion.Gizmos.TriggerLineVisualizer:

Private Member Functions

void Awake ()
 
void Update ()
 
bool TryStart (HandInfo handInfo)
 
bool TryStop (HandInfo handInfo)
 
void Stop ()
 
void SetTextPosition (TriggerGizmo triggerGizmo)
 
void OnDisable ()
 

Private Attributes

LeftOrRightHand handLeftRight
 
ManoGestureTrigger startGesture
 
ManoGestureTrigger stopGesture
 
TriggerMarker startMarker
 
TriggerMarker stopMarker
 
LineRenderer lineRenderer
 
float timeBeforeRemoving = 1f
 
Transform canvas
 
TriggerGizmo startGizmo
 
TriggerGizmo stopGizmo
 
Vector3 localTriggerSize
 
bool started
 
ManoClass manoClass
 

Member Function Documentation

◆ Awake()

void ManoMotion.Gizmos.TriggerLineVisualizer.Awake ( )
inlineprivate

◆ OnDisable()

void ManoMotion.Gizmos.TriggerLineVisualizer.OnDisable ( )
inlineprivate

◆ SetTextPosition()

void ManoMotion.Gizmos.TriggerLineVisualizer.SetTextPosition ( TriggerGizmo triggerGizmo)
inlineprivate

◆ Stop()

void ManoMotion.Gizmos.TriggerLineVisualizer.Stop ( )
inlineprivate

◆ TryStart()

bool ManoMotion.Gizmos.TriggerLineVisualizer.TryStart ( HandInfo handInfo)
inlineprivate

◆ TryStop()

bool ManoMotion.Gizmos.TriggerLineVisualizer.TryStop ( HandInfo handInfo)
inlineprivate

◆ Update()

void ManoMotion.Gizmos.TriggerLineVisualizer.Update ( )
inlineprivate

Member Data Documentation

◆ canvas

Transform ManoMotion.Gizmos.TriggerLineVisualizer.canvas
private

◆ handLeftRight

LeftOrRightHand ManoMotion.Gizmos.TriggerLineVisualizer.handLeftRight
private

◆ lineRenderer

LineRenderer ManoMotion.Gizmos.TriggerLineVisualizer.lineRenderer
private

◆ localTriggerSize

Vector3 ManoMotion.Gizmos.TriggerLineVisualizer.localTriggerSize
private

◆ manoClass

ManoClass ManoMotion.Gizmos.TriggerLineVisualizer.manoClass
private

◆ started

bool ManoMotion.Gizmos.TriggerLineVisualizer.started
private

◆ startGesture

ManoGestureTrigger ManoMotion.Gizmos.TriggerLineVisualizer.startGesture
private

◆ startGizmo

TriggerGizmo ManoMotion.Gizmos.TriggerLineVisualizer.startGizmo
private

◆ startMarker

TriggerMarker ManoMotion.Gizmos.TriggerLineVisualizer.startMarker
private

◆ stopGesture

ManoGestureTrigger ManoMotion.Gizmos.TriggerLineVisualizer.stopGesture
private

◆ stopGizmo

TriggerGizmo ManoMotion.Gizmos.TriggerLineVisualizer.stopGizmo
private

◆ stopMarker

TriggerMarker ManoMotion.Gizmos.TriggerLineVisualizer.stopMarker
private

◆ timeBeforeRemoving

float ManoMotion.Gizmos.TriggerLineVisualizer.timeBeforeRemoving = 1f
private