Skip to main content

Destructible3DBehaviorOptions

@zylem/game-lib


@zylem/game-lib / behavior / Destructible3DBehaviorOptions

Interface: Destructible3DBehaviorOptions

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/destructible-3d.d.ts:50

Properties​

collider?​

optional collider?: Destructible3DColliderOptions

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/destructible-3d.d.ts:53


fractureOptions?​

optional fractureOptions?: FractureOptions | \{ \}

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/destructible-3d.d.ts:51


fragmentPhysics?​

optional fragmentPhysics?: Destructible3DFragmentPhysicsOptions

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/destructible-3d.d.ts:54


innerMaterial?​

optional innerMaterial?: Material<MaterialEventMap> | 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/destructible-3d.d.ts:52


prebakeWorkerUrl?​

optional prebakeWorkerUrl?: string | URL

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/destructible-3d.d.ts:59

When set, Destructible3DHandle.prebakeAsync runs Voronoi fracture in a Web Worker (see destructible-prebake-worker bundle).