Classes |
Public Member Functions |
Public Attributes |
Protected Member Functions |
Protected Attributes |
Properties |
Events |
List of all members
OculusSampleFramework.Interactable Class Referenceabstract
Interface for all objects interacted with in example code. More...
Inheritance diagram for OculusSampleFramework.Interactable:

Classes | |
class | InteractableStateArgsEvent |
Public Member Functions | |
abstract void | UpdateCollisionDepth (InteractableTool interactableTool, InteractableCollisionDepth oldCollisionDepth, InteractableCollisionDepth newCollisionDepth) |
Public Attributes | |
InteractableStateArgsEvent | InteractableStateChanged |
Protected Member Functions | |
virtual void | OnProximityZoneEvent (ColliderZoneArgs args) |
virtual void | OnContactZoneEvent (ColliderZoneArgs args) |
virtual void | OnActionZoneEvent (ColliderZoneArgs args) |
virtual void | Awake () |
virtual void | OnDestroy () |
Protected Attributes | |
ColliderZone | _proximityZoneCollider = null |
ColliderZone | _contactZoneCollider = null |
ColliderZone | _actionZoneCollider = null |
Properties | |
ColliderZone | ProximityCollider [get] |
ColliderZone | ContactCollider [get] |
ColliderZone | ActionCollider [get] |
virtual int | ValidToolTagsMask [get] |
Events | |
Action< ColliderZoneArgs > | ProximityZoneEvent |
Action< ColliderZoneArgs > | ContactZoneEvent |
Action< ColliderZoneArgs > | ActionZoneEvent |
Detailed Description
Interface for all objects interacted with in example code.
Member Function Documentation
◆ Awake()
|
protectedvirtual |
Reimplemented in OculusSampleFramework.ButtonController.
◆ OnActionZoneEvent()
|
protectedvirtual |
◆ OnContactZoneEvent()
|
protectedvirtual |
◆ OnDestroy()
|
protectedvirtual |
◆ OnProximityZoneEvent()
|
protectedvirtual |
◆ UpdateCollisionDepth()
|
pure virtual |
Implemented in OculusSampleFramework.ButtonController.
Member Data Documentation
◆ _actionZoneCollider
|
protected |
◆ _contactZoneCollider
|
protected |
◆ _proximityZoneCollider
|
protected |
◆ InteractableStateChanged
InteractableStateArgsEvent OculusSampleFramework.Interactable.InteractableStateChanged |
Property Documentation
◆ ActionCollider
|
get |
◆ ContactCollider
|
get |
◆ ProximityCollider
|
get |
◆ ValidToolTagsMask
|
get |
Event Documentation
◆ ActionZoneEvent
Action<ColliderZoneArgs> OculusSampleFramework.Interactable.ActionZoneEvent |
◆ ContactZoneEvent
Action<ColliderZoneArgs> OculusSampleFramework.Interactable.ContactZoneEvent |
◆ ProximityZoneEvent
Action<ColliderZoneArgs> OculusSampleFramework.Interactable.ProximityZoneEvent |
The documentation for this class was generated from the following file:
- Oculus/SampleFramework/Core/HandsInteraction/Scripts/Interactable.cs