Skip to content

@ue-too/board / PanHandlerConfig

Type Alias: PanHandlerConfig

PanHandlerConfig = PanHandlerRestrictionConfig & PanHandlerClampConfig

Defined in: packages/board/src/camera/camera-rig/pan-handler.ts:23

Combined configuration for pan handler behavior, merging restriction and clamping settings.

Remarks

This type combines PanHandlerRestrictionConfig and PanHandlerClampConfig to provide complete control over camera panning behavior.

Pan handlers use this configuration to:

  • Restrict movement along specific axes (world or viewport-relative)
  • Clamp camera position to stay within boundaries
  • Control whether entire viewport or just center must stay in bounds

See