API reference

StandingSetting Class

Extends MonoBehaviour
Adjusts the Locomotor height offset when the player is seated, allowing them to remain at standing height during the experience.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.Locomotion.StandingSetting._started

Fields

Standing : ReactiveValue< StandingMode >
Whether the player is standing or seated.
Signature
ReactiveValue<StandingMode> Oculus.Interaction.Locomotion.StandingSetting.Standing

Properties

SeatedHeightOffset : float
[Get][Set]
Height offset in meters applied when the user is seated.
Signature
float Oculus.Interaction.Locomotion.StandingSetting.SeatedHeightOffset

Protected Methods

OnDisable ()
Signature
virtual void Oculus.Interaction.Locomotion.StandingSetting.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.Locomotion.StandingSetting.OnEnable()
Returns
void
Start ()
Signature
void Oculus.Interaction.Locomotion.StandingSetting.Start()
Returns
void

Methods

InjectOptionalLocomotor ( locomotor )
Signature
void Oculus.Interaction.Locomotion.StandingSetting.InjectOptionalLocomotor(FirstPersonLocomotor locomotor)
Parameters
Returns
void

Inner Enum

StandingMode Enum

Enumeration Constants

MemberValue
Standing
0
Seating
1