Skip to content

@ue-too/board / index / PanHandlerConfig

型エイリアス: PanHandlerConfig

PanHandlerConfig = PanHandlerRestrictionConfig & PanHandlerClampConfig

定義: 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

参照