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

LocomotionSeatedSetting Class

Extends MonoBehaviour
Changes the height offset of the Locomotor if the player indicates that it is seated so it can remaing at standing height while using the experience

Protected Fields

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

Properties

SeatedHeightOffset : float
[Get][Set]
Signature
float Oculus.Interaction.Locomotion.LocomotionSeatedSetting.SeatedHeightOffset

Protected Methods

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

Methods

InjectAllSeatedMode ( seated , standing , locomotor )
Signature
void Oculus.Interaction.Locomotion.LocomotionSeatedSetting.InjectAllSeatedMode(Toggle seated, Toggle standing, FirstPersonLocomotor locomotor)
Parameters
seated: Toggle
standing: Toggle
Returns
void
InjectLocomotor ( locomotor )
Signature
void Oculus.Interaction.Locomotion.LocomotionSeatedSetting.InjectLocomotor(FirstPersonLocomotor locomotor)
Parameters
Returns
void
InjectSeated ( seated )
Signature
void Oculus.Interaction.Locomotion.LocomotionSeatedSetting.InjectSeated(Toggle seated)
Parameters
seated: Toggle
Returns
void
InjectStanding ( standing )
Signature
void Oculus.Interaction.Locomotion.LocomotionSeatedSetting.InjectStanding(Toggle standing)
Parameters
standing: Toggle
Returns
void