API reference
API reference
Select your platform
No SDKs available
No versions available

PlayerLocomotor Class

Moves a player when receiving events from ILocomotionEventBroadcasters.
Oculus::Interaction::Locomotion::PlayerLocomotor extends MonoBehaviour.
Oculus::Interaction::Locomotion::PlayerLocomotor extends Oculus.Interaction.Locomotion.ILocomotionEventHandler.

Overview

Object Data

bool

Object Data

void
Start ( )

Public Member Functions

void
void
InjectAllPlayerLocomotor
( Transform playerOrigin,
Transform playerHead )
void
InjectPlayerOrigin
( Transform playerOrigin )
void
InjectPlayerHead
( Transform playerHead )

Details

Detailed Description

The movement can be a combination of translations and rotations and it happens at the very end of the frame (after rendering).

Properties

Action<LocomotionEvent, Pose> Oculus.Interaction.Locomotion.PlayerLocomotor.WhenLocomotionEventHandled
No description available.

Object Data

bool Oculus.Interaction.Locomotion.PlayerLocomotor._started
No description available.

Object Data

virtual void Oculus.Interaction.Locomotion.PlayerLocomotor.Start ( )
No description available.

Member Functions

void Oculus.Interaction.Locomotion.PlayerLocomotor.HandleLocomotionEvent
( LocomotionEvent locomotionEvent )
No description available.
void Oculus.Interaction.Locomotion.PlayerLocomotor.InjectAllPlayerLocomotor
( Transform playerOrigin,
Transform playerHead )
No description available.
void Oculus.Interaction.Locomotion.PlayerLocomotor.InjectPlayerOrigin
( Transform playerOrigin )
No description available.
void Oculus.Interaction.Locomotion.PlayerLocomotor.InjectPlayerHead
( Transform playerHead )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon