Skip to main content

UB1CameraMode_Console

Overview

  • Gamepad-only unified zoom camera mode. Inherits UB1CameraMode_Top and continuously interpolates between shoulder view (near) and top view (far) with a single logic based on the zoom ratio (0-1). Pitch control: auto-interpolates toward the target pitch only while the zoom distance changes; holds the current pitch when zooming stops; user input (PitchRotate) always takes precedence and stays at that position. Curve properties: each curve's X axis is zoomRatio (0=min distance/shoulder, 1=max distance/top view); if a curve is null, it falls back to scalar-UPROPERTY-based linear interpolation.

Metadata

FieldValue
Kindclass
EnvironmentB1 - Presentation
Categoryclasses
ExtendsUB1CameraMode_Top

Properties (13)

NameTypeDescription
FOV_CurveFloatUCurveFloatFOV curve per zoom ratio. If null, linearly interpolates between ShoulderFOV and the default FOV.
HorizontalOffset_CurveFloatUCurveFloatCurve property (X axis: zoomRatio 0-1). Horizontal-offset curve per zoom ratio. If null, linearly interpolates ShoulderHorizontalOffset x shoulderAlpha.
LookAtZOffset_CurveFloatUCurveFloatLookAt Z-offset curve per zoom ratio. If null, linearly interpolates ShoulderLookAtZOffset x shoulderAlpha.
PitchLimits_CurveVectorUCurveVector
PitchPreAdjustSpeednumberPitch pre-interpolation speed when a zoom-out sweep is blocked - higher values resolve the deadlock faster.
ShoulderBlendRangeFVector2DScalar property (fallback when no curve is set). The shoulder blend decreases 1.0->0.0 within this zoomRatio range (X=start, Y=end).
ShoulderFOVnumberFOV (degrees) used in shoulder view.
ShoulderHorizontalOffsetnumberShoulder-view horizontal offset - amount of movement toward the shoulder (cm).
ShoulderLookAtZOffsetnumberShoulder-view LookAt target Z correction - adjusts the look height relative to the pivot (cm, positive=up).
ShoulderTargetPitchnumberShoulder-view target pitch (degrees) - converges to this angle when zoomed in.
TargetPitch_CurveFloatUCurveFloatTarget-pitch curve per zoom ratio. If null, linearly interpolates between ShoulderTargetPitch and TopViewTargetPitch.
TopViewTargetPitchnumberTop-view target pitch (degrees) - converges to this angle when zoomed out.
TransitionWarmupSpeednumber