Skip to main content

RuntimeTriggerRegion2DOptions

@zylem/game-lib


@zylem/game-lib / behavior / RuntimeTriggerRegion2DOptions

Interface: RuntimeTriggerRegion2DOptions

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/runtime-2d.d.ts:42

Registers a gameplay2d trigger AABB (sensor); wasm reports overlap via emitRuntimeTriggerRegionEnter.

Properties​

halfExtents​

halfExtents: readonly [number, number]

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/runtime-2d.d.ts:44


triggerId​

triggerId: number

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/runtime-2d.d.ts:43