OculusSampleFramework.RayTool Class Reference
Ray tool used for far-field interactions. More...
Inheritance diagram for OculusSampleFramework.RayTool:
Public Member Functions | |
| override void | Initialize () |
| override List< InteractableCollisionInfo > | GetNextIntersectingObjects () |
| override void | FocusOnInteractable (Interactable focusedInteractable, ColliderZone colliderZone) |
| Used to tell the tool to "focus" on a specific object, if focusing is indeed possible given the tool type. More... | |
| override void | DeFocus () |
Public Member Functions inherited from OculusSampleFramework.InteractableTool | |
| List< InteractableCollisionInfo > | GetCurrentIntersectingObjects () |
| KeyValuePair< Interactable, InteractableCollisionInfo > | GetFirstCurrentCollisionInfo () |
| void | ClearAllCurrentCollisionInfos () |
| virtual void | UpdateCurrentCollisionsBasedOnDepth () |
| For each intersecting interactable, update meta data to indicate deepest collision only. More... | |
| virtual void | UpdateLatestCollisionData () |
| If our collision information changed per frame, make note of it. Removed, added and remaining objects must get their proper events. More... | |
Properties | |
| override InteractableToolTags | ToolTags [get] |
| override ToolInputState | ToolInputState [get] |
| override bool | IsFarFieldTool [get] |
| override bool | EnableState [get, set] |
Properties inherited from OculusSampleFramework.InteractableTool | |
| Transform | ToolTransform [get] |
| bool | IsRightHandedTool [get, set] |
| abstract InteractableToolTags | ToolTags [get] |
| abstract ToolInputState | ToolInputState [get] |
| abstract bool | IsFarFieldTool [get] |
| Vector3 | Velocity [get, protected set] |
| Vector3 | InteractionPosition [get, protected set] |
| Sometimes we want the position of a tool for stuff like pokes. More... | |
| abstract bool | EnableState [get, set] |
Additional Inherited Members | |
Protected Attributes inherited from OculusSampleFramework.InteractableTool | |
| List< InteractableCollisionInfo > | _currentIntersectingObjects |
| List of objects that intersect tool. More... | |
Detailed Description
Ray tool used for far-field interactions.
Member Function Documentation
◆ DeFocus()
|
virtual |
Implements OculusSampleFramework.InteractableTool.
◆ FocusOnInteractable()
|
virtual |
Used to tell the tool to "focus" on a specific object, if focusing is indeed possible given the tool type.
- Parameters
-
focusedInteractable Interactable to focus. colliderZone Collider zone of interactable.
Implements OculusSampleFramework.InteractableTool.
◆ GetNextIntersectingObjects()
|
virtual |
Implements OculusSampleFramework.InteractableTool.
◆ Initialize()
|
virtual |
Implements OculusSampleFramework.InteractableTool.
Property Documentation
◆ EnableState
|
getset |
◆ IsFarFieldTool
|
get |
◆ ToolInputState
|
get |
◆ ToolTags
|
get |
The documentation for this class was generated from the following file:
- Oculus/SampleFramework/Core/HandsInteraction/Scripts/Tools/RayTool.cs
Public Member Functions inherited from
1.8.13