Ricochet3DHandle
@zylem/game-lib / behavior / Ricochet3DHandle
Interface: Ricochet3DHandle
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/ricochet-3d.d.ts:108
Methods
applyRicochet()
applyRicochet(
ctx):boolean
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/ricochet-3d.d.ts:110
Parameters
ctx
Returns
boolean
getLastResult()
getLastResult():
Ricochet3DResult|null
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/ricochet-3d.d.ts:111
Returns
Ricochet3DResult | null
getRicochet()
getRicochet(
ctx):Ricochet3DResult|null
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/ricochet-3d.d.ts:109
Parameters
ctx
Returns
Ricochet3DResult | null
onRicochet()
onRicochet(
callback): () =>void
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/ricochet-3d.d.ts:112
Parameters
callback
Returns
() => void