GrabObject Class Reference
Inheritance diagram for GrabObject:

Public Member Functions | |
delegate void | GrabbedObject (OVRInput.Controller grabHand) |
delegate void | ReleasedObject () |
delegate void | SetCursorPosition (Vector3 cursorPosition) |
void | Grab (OVRInput.Controller grabHand) |
void | Release () |
void | CursorPos (Vector3 cursorPos) |
Public Attributes | |
string | ObjectName |
string | ObjectInstructions |
ManipulationType | objectManipulationType = ManipulationType.Default |
bool | showLaserWhileGrabbed = false |
Quaternion | grabbedRotation = Quaternion.identity |
GrabbedObject | GrabbedObjectDelegate |
ReleasedObject | ReleasedObjectDelegate |
SetCursorPosition | CursorPositionDelegate |
Member Enumeration Documentation
◆ ManipulationType
|
strong |
Member Function Documentation
◆ CursorPos()
void GrabObject.CursorPos | ( | Vector3 | cursorPos | ) |
◆ Grab()
void GrabObject.Grab | ( | OVRInput.Controller | grabHand | ) |
◆ GrabbedObject()
delegate void GrabObject.GrabbedObject | ( | OVRInput.Controller | grabHand | ) |
◆ Release()
void GrabObject.Release | ( | ) |
◆ ReleasedObject()
delegate void GrabObject.ReleasedObject | ( | ) |
◆ SetCursorPosition()
delegate void GrabObject.SetCursorPosition | ( | Vector3 | cursorPosition | ) |
Member Data Documentation
◆ CursorPositionDelegate
SetCursorPosition GrabObject.CursorPositionDelegate |
◆ GrabbedObjectDelegate
GrabbedObject GrabObject.GrabbedObjectDelegate |
◆ grabbedRotation
Quaternion GrabObject.grabbedRotation = Quaternion.identity |
◆ ObjectInstructions
string GrabObject.ObjectInstructions |
◆ objectManipulationType
ManipulationType GrabObject.objectManipulationType = ManipulationType.Default |
◆ ObjectName
string GrabObject.ObjectName |
◆ ReleasedObjectDelegate
ReleasedObject GrabObject.ReleasedObjectDelegate |
◆ showLaserWhileGrabbed
bool GrabObject.showLaserWhileGrabbed = false |
The documentation for this class was generated from the following file:
- Oculus/SampleFramework/Usage/Passthrough/Scripts/GrabObject.cs