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.

備註

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

參閱