Public Types |
Public Member Functions |
Protected Member Functions |
Properties |
List of all members
OculusSampleFramework.ButtonController Class Reference
A button interactable used by the train scene. More...
Inheritance diagram for OculusSampleFramework.ButtonController:

Public Types | |
enum | ContactTest { ContactTest.PerpenTest = 0, ContactTest.BackwardsPress } |
Public Member Functions | |
override void | UpdateCollisionDepth (InteractableTool interactableTool, InteractableCollisionDepth oldCollisionDepth, InteractableCollisionDepth newCollisionDepth) |
void | ForceResetButton () |
Protected Member Functions | |
override void | Awake () |
![]() | |
virtual void | OnProximityZoneEvent (ColliderZoneArgs args) |
virtual void | OnContactZoneEvent (ColliderZoneArgs args) |
virtual void | OnActionZoneEvent (ColliderZoneArgs args) |
virtual void | OnDestroy () |
Properties | |
override int | ValidToolTagsMask [get] |
Vector3 | LocalButtonDirection [get] |
InteractableState | CurrentButtonState [get] |
![]() | |
ColliderZone | ProximityCollider [get] |
ColliderZone | ContactCollider [get] |
ColliderZone | ActionCollider [get] |
virtual int | ValidToolTagsMask [get] |
Additional Inherited Members | |
![]() | |
InteractableStateArgsEvent | InteractableStateChanged |
![]() | |
ColliderZone | _proximityZoneCollider = null |
ColliderZone | _contactZoneCollider = null |
ColliderZone | _actionZoneCollider = null |
![]() | |
Action< ColliderZoneArgs > | ProximityZoneEvent |
Action< ColliderZoneArgs > | ContactZoneEvent |
Action< ColliderZoneArgs > | ActionZoneEvent |
Detailed Description
A button interactable used by the train scene.
Member Enumeration Documentation
◆ ContactTest
Member Function Documentation
◆ Awake()
|
protectedvirtual |
Reimplemented from OculusSampleFramework.Interactable.
◆ ForceResetButton()
void OculusSampleFramework.ButtonController.ForceResetButton | ( | ) |
◆ UpdateCollisionDepth()
|
virtual |
Implements OculusSampleFramework.Interactable.
Property Documentation
◆ CurrentButtonState
|
get |
◆ LocalButtonDirection
|
get |
◆ ValidToolTagsMask
|
get |
The documentation for this class was generated from the following file:
- Oculus/SampleFramework/Core/HandsInteraction/Scripts/ButtonController.cs