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 () |
![]() | |
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) |
![]() | |
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 | |
![]() | |
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... | |
![]() | |
LocomotionTeleport.AimData | AimData |
![]() | |
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