Documentation for the Unity C# Library
Loading...
Searching...
No Matches
PixoVR.Event.LaserMovableWithOutline Class Reference
Inheritance diagram for PixoVR.Event.LaserMovableWithOutline:
[legend]

Public Member Functions

override void Awake ()
 
override void OnTriggerGrab (Hand hand, Grabbable grabbable)
 
override void OnTriggerReleased (Hand hand, Grabbable grabbable)
 
override void StartTargeting ()
 
override void StopTargeting ()
 

Properties

bool IsPulling [get, set]
 
bool IsTargeted [get, set]
 

Private Member Functions

float GetCurrentHandYAxis ()
 
void MoveAlongRay (float moveDirection)
 
void OnDisable ()
 
void OnEnable ()
 
void OnStartTargeting (Hand hand, Grabbable grabbable)
 
void OnStopTargeting (Hand hand, Grabbable grabbable)
 
void OnTriggerPressed (Hand hand)
 
void Update ()
 

Private Attributes

Hand _currentSelectingHand
 
DistanceGrabbable _distanceGrabbable
 [SerializeField]
 
Outline _highlightOutline
 [SerializeField]
 
Vector3 _initialPosition
 
InputListener _inputListener
 
Quaternion _intitialRotation
 
bool _invertedForward = true
 [SerializeField]
 
Transform _previousParent = null
 
Color _pullingColor
 [SerializeField]
 
Quaternion _rotationOnGrab
 
RotationOnRelease _rotationOnRelease = RotationOnRelease.Initial
 [SerializeField]
 
bool _startedSelecting = false
 
Color _targetingColor
 [SerializeField]
 
Transform _transformToMove
 [SerializeField]
 
float _zoomInSpeed = 2
 [SerializeField]
 

Static Private Attributes

const float MAX_DISTANCE = 15
 
const float MIN_DISTANCE = 1
 

Detailed Description

Definition at line 7 of file LaserMovableWithOutline.cs.

Member Function Documentation

◆ Awake()

override void PixoVR.Event.LaserMovableWithOutline.Awake ( )
inlinevirtual

Reimplemented from LaserMovable.

Definition at line 22 of file LaserMovableWithOutline.cs.

◆ GetCurrentHandYAxis()

float LaserMovable.GetCurrentHandYAxis ( )
inlineprivateinherited

Definition at line 161 of file LaserMovable.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MoveAlongRay()

void LaserMovable.MoveAlongRay ( float moveDirection)
inlineprivateinherited

Definition at line 141 of file LaserMovable.cs.

Here is the caller graph for this function:

◆ OnDisable()

void LaserMovable.OnDisable ( )
inlineprivateinherited

Definition at line 105 of file LaserMovable.cs.

Here is the call graph for this function:

◆ OnEnable()

void LaserMovable.OnEnable ( )
inlineprivateinherited

Definition at line 64 of file LaserMovable.cs.

Here is the call graph for this function:

◆ OnStartTargeting()

void LaserMovable.OnStartTargeting ( Hand hand,
Grabbable grabbable )
inlineprivateinherited

Definition at line 167 of file LaserMovable.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnStopTargeting()

void LaserMovable.OnStopTargeting ( Hand hand,
Grabbable grabbable )
inlineprivateinherited

Definition at line 182 of file LaserMovable.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnTriggerGrab()

override void PixoVR.Event.LaserMovableWithOutline.OnTriggerGrab ( Hand hand,
Grabbable grabbable )
inlinevirtual

Reimplemented from LaserMovable.

Definition at line 41 of file LaserMovableWithOutline.cs.

◆ OnTriggerPressed()

void LaserMovable.OnTriggerPressed ( Hand hand)
inlineprivateinherited

Definition at line 242 of file LaserMovable.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnTriggerReleased()

override void PixoVR.Event.LaserMovableWithOutline.OnTriggerReleased ( Hand hand,
Grabbable grabbable )
inlinevirtual

Reimplemented from LaserMovable.

Definition at line 50 of file LaserMovableWithOutline.cs.

◆ StartTargeting()

override void PixoVR.Event.LaserMovableWithOutline.StartTargeting ( )
inlinevirtual

Reimplemented from LaserMovable.

Definition at line 28 of file LaserMovableWithOutline.cs.

◆ StopTargeting()

override void PixoVR.Event.LaserMovableWithOutline.StopTargeting ( )
inlinevirtual

Reimplemented from LaserMovable.

Definition at line 35 of file LaserMovableWithOutline.cs.

◆ Update()

void LaserMovable.Update ( )
inlineprivateinherited

Definition at line 124 of file LaserMovable.cs.

Here is the call graph for this function:

Member Data Documentation

◆ _currentSelectingHand

Hand LaserMovable._currentSelectingHand
privateinherited

Definition at line 46 of file LaserMovable.cs.

◆ _distanceGrabbable

DistanceGrabbable LaserMovable._distanceGrabbable
privateinheritedSerializeField

[SerializeField]

Definition at line 29 of file LaserMovable.cs.

◆ _highlightOutline

Outline PixoVR.Event.LaserMovableWithOutline._highlightOutline
privateSerializeField

[SerializeField]

Definition at line 12 of file LaserMovableWithOutline.cs.

◆ _initialPosition

Vector3 LaserMovable._initialPosition
privateinherited

Definition at line 51 of file LaserMovable.cs.

◆ _inputListener

InputListener LaserMovable._inputListener
privateinherited

Definition at line 53 of file LaserMovable.cs.

◆ _intitialRotation

Quaternion LaserMovable._intitialRotation
privateinherited

Definition at line 52 of file LaserMovable.cs.

◆ _invertedForward

bool LaserMovable._invertedForward = true
privateinheritedSerializeField

[SerializeField]

Definition at line 41 of file LaserMovable.cs.

◆ _previousParent

Transform LaserMovable._previousParent = null
privateinherited

Definition at line 49 of file LaserMovable.cs.

◆ _pullingColor

Color PixoVR.Event.LaserMovableWithOutline._pullingColor
privateSerializeField

[SerializeField]

Definition at line 20 of file LaserMovableWithOutline.cs.

◆ _rotationOnGrab

Quaternion LaserMovable._rotationOnGrab
privateinherited

Definition at line 50 of file LaserMovable.cs.

◆ _rotationOnRelease

RotationOnRelease LaserMovable._rotationOnRelease = RotationOnRelease.Initial
privateinheritedSerializeField

[SerializeField]

Definition at line 33 of file LaserMovable.cs.

◆ _startedSelecting

bool LaserMovable._startedSelecting = false
privateinherited

Definition at line 55 of file LaserMovable.cs.

◆ _targetingColor

Color PixoVR.Event.LaserMovableWithOutline._targetingColor
privateSerializeField

[SerializeField]

Definition at line 16 of file LaserMovableWithOutline.cs.

◆ _transformToMove

Transform LaserMovable._transformToMove
privateinheritedSerializeField

[SerializeField]

Definition at line 25 of file LaserMovable.cs.

◆ _zoomInSpeed

float LaserMovable._zoomInSpeed = 2
privateinheritedSerializeField

[SerializeField]

Definition at line 37 of file LaserMovable.cs.

◆ MAX_DISTANCE

const float LaserMovable.MAX_DISTANCE = 15
staticprivateinherited

Definition at line 43 of file LaserMovable.cs.

◆ MIN_DISTANCE

const float LaserMovable.MIN_DISTANCE = 1
staticprivateinherited

Definition at line 44 of file LaserMovable.cs.

Property Documentation

◆ IsPulling

bool LaserMovable.IsPulling
getsetinherited

Definition at line 47 of file LaserMovable.cs.

◆ IsTargeted

bool LaserMovable.IsTargeted
getsetinherited

Definition at line 48 of file LaserMovable.cs.


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