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

LocomotionComfortVignetteSetting Class

Extends MonoBehaviour
Locomotion setting that controls the vignette strength when different locomotion events occur.
You can select between Turning, Acceleration and linear movement and it will apply the selected AnimationCurve when the referenced toggle is activated

Protected Fields

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

Protected Methods

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

Methods

InjectAllComfortOption ( comfortType , toggle , curve , tunneling )
Signature
void Oculus.Interaction.Locomotion.LocomotionComfortVignetteSetting.InjectAllComfortOption(ComfortType comfortType, Toggle toggle, AnimationCurve curve, LocomotionTunneling tunneling)
Parameters
comfortType: ComfortType
toggle: Toggle
curve: AnimationCurve
Returns
void
InjectComfortType ( comfortType )
Signature
void Oculus.Interaction.Locomotion.LocomotionComfortVignetteSetting.InjectComfortType(ComfortType comfortType)
Parameters
comfortType: ComfortType
Returns
void
InjectCurve ( curve )
Signature
void Oculus.Interaction.Locomotion.LocomotionComfortVignetteSetting.InjectCurve(AnimationCurve curve)
Parameters
curve: AnimationCurve
Returns
void
InjectToggle ( toggle )
Signature
void Oculus.Interaction.Locomotion.LocomotionComfortVignetteSetting.InjectToggle(Toggle toggle)
Parameters
toggle: Toggle
Returns
void
InjectTunneling ( tunneling )
Signature
void Oculus.Interaction.Locomotion.LocomotionComfortVignetteSetting.InjectTunneling(LocomotionTunneling tunneling)
Parameters
Returns
void

Inner Enum

ComfortType Enum

Types of movement that will trigger the comfort vignette

Enumeration Constants

Member
Turning
Accelerating
Moving