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 () |
Protected Member Functions inherited from OculusSampleFramework.Interactable | |
| 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] |
Properties inherited from OculusSampleFramework.Interactable | |
| ColliderZone | ProximityCollider [get] |
| ColliderZone | ContactCollider [get] |
| ColliderZone | ActionCollider [get] |
| virtual int | ValidToolTagsMask [get] |
Additional Inherited Members | |
Public Attributes inherited from OculusSampleFramework.Interactable | |
| InteractableStateArgsEvent | InteractableStateChanged |
Protected Attributes inherited from OculusSampleFramework.Interactable | |
| ColliderZone | _proximityZoneCollider = null |
| ColliderZone | _contactZoneCollider = null |
| ColliderZone | _actionZoneCollider = null |
Events inherited from OculusSampleFramework.Interactable | |
| 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
Protected Member Functions inherited from
1.8.13