TeleportOrientationHandler360 Class Reference
This orientation handler doesn't actually do anything with the orientation at all; this is for users who have a 360 setup and don't need to be concerned with choosing an orientation because they just turn whatever direction they want. More...
Inheritance diagram for TeleportOrientationHandler360:
Protected Member Functions | |
| override void | InitializeTeleportDestination () |
| override void | UpdateTeleportDestination () |
Protected Member Functions inherited from TeleportOrientationHandler | |
| TeleportOrientationHandler () | |
| override void | AddEventHandlers () |
| Derived classes that need to use event handlers need to override this method and call the base class to ensure all event handlers are added as intended. More... | |
| override void | RemoveEventHandlers () |
| Derived classes that need to use event handlers need to override this method and call the base class to ensure all event handlers are removed as intended. More... | |
| Quaternion | GetLandingOrientation (OrientationModes mode, Quaternion rotation) |
Protected Member Functions inherited from TeleportSupport | |
| virtual void | OnEnable () |
| OnEnable is virtual so that derived classes can set up references to objects before AddEventHandlers is called, as is required by TeleportSupport derivations. More... | |
| virtual void | OnDisable () |
Additional Inherited Members | |
Public Types inherited from TeleportOrientationHandler | |
| enum | OrientationModes { OrientationModes.HeadRelative, OrientationModes.ForwardFacing } |
| The OrientationModes are used to specify how the character should be oriented when they land after a teleport. More... | |
Protected Attributes inherited from TeleportOrientationHandler | |
| LocomotionTeleport.AimData | AimData |
Properties inherited from TeleportSupport | |
| LocomotionTeleport | LocomotionTeleport [get] |
Detailed Description
This orientation handler doesn't actually do anything with the orientation at all; this is for users who have a 360 setup and don't need to be concerned with choosing an orientation because they just turn whatever direction they want.
Member Function Documentation
◆ InitializeTeleportDestination()
|
protectedvirtual |
Implements TeleportOrientationHandler.
◆ UpdateTeleportDestination()
|
protectedvirtual |
Implements TeleportOrientationHandler.
The documentation for this class was generated from the following file:
- Oculus/SampleFramework/Core/Locomotion/Scripts/TeleportOrientationHandler360.cs
Protected Member Functions inherited from
1.8.13