Class DrivingCameraEffectConfig
ScriptableObject asset that defines the FOV and turn-pan curves applied by DrivingCameraEffector to Cinemachine virtual cameras while driving.
[CreateAssetMenu(fileName = "New DrivingCameraEffectConfig", menuName = "ScriptableObject/Configuration Assets/Driving Camera Effect Config")]
public class DrivingCameraEffectConfig : ScriptableObject
Inheritance
Remarks
Subtle FOV expansion at speed (typically 34.6 → 37 degrees) amplifies the sensation of velocity for participants wearing the Varjo headset without inducing VR motion sickness from large field-of-view changes.
It is recommended to store these parameters in a ScriptableObject, so that one can swap effect profiles between scenarios at design time.
Fields
fovSmoothTime
Smoothing time for transitioning between FOV values.
[Tooltip("Smoothing time for transitioning between FOV values.")]
[Min(0)]
public float fovSmoothTime
Field Value
float
maxFov
Maximum field of view at high speeds.
[Tooltip("Maximum field of view at high speeds.")]
[Min(0)]
public float maxFov
Field Value
float
maxFovAtSpeed
Speed at which the maximum field of view is applied.
[Tooltip("Speed at which the maximum field of view is applied.")]
public SpeedDataType maxFovAtSpeed
Field Value
maxTurnDistance
Maximum horizontal pan distance for camera when turning.
[Header("Camera Pan Settings")]
[Tooltip("Maximum horizontal pan distance for camera when turning.")]
[Min(0)]
public float maxTurnDistance
Field Value
float
minFov
Minimum field of view at low speeds.
[Header("FOV Settings")]
[Tooltip("Minimum field of view at low speeds.")]
[Min(0)]
public float minFov
Field Value
float