OculusSampleFramework.FingerTipPokeTool Class Reference
Poke tool used for near-field (touching) interactions. Assumes that it will be placed on finger tips. More...
Inheritance diagram for OculusSampleFramework.FingerTipPokeTool:

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 () |
![]() | |
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] |
![]() | |
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 | |
![]() | |
List< InteractableCollisionInfo > | _currentIntersectingObjects |
List of objects that intersect tool. More... | |
Detailed Description
Poke tool used for near-field (touching) interactions. Assumes that it will be placed on finger tips.
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/FingerTipPokeTool.cs