Skip to main content

WorldBoundary2DOptions

@zylem/game-lib


@zylem/game-lib / behavior / WorldBoundary2DOptions

Interface: WorldBoundary2DOptions

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/world-boundary-2d.d.ts:92

Properties​

boundaries​

boundaries: WorldBoundary2DBounds

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/world-boundary-2d.d.ts:100

World boundaries (in world units).

  • left hit if x <= left
  • right hit if x >= right
  • bottom hit if y <= bottom
  • top hit if y >= top