Skip to main content

PlainFractureOptions

@zylem/game-lib


@zylem/game-lib / behavior / PlainFractureOptions

Type Alias: PlainFractureOptions

PlainFractureOptions = object

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/payload-BQzu-oY_.d.ts:15

Properties​

fractureMethod​

fractureMethod: "voronoi" | "simple"

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/payload-BQzu-oY_.d.ts:16


fracturePlanes​

fracturePlanes: object

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/payload-BQzu-oY_.d.ts:18

x​

x: boolean

y​

y: boolean

z​

z: boolean


fragmentCount​

fragmentCount: 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/payload-BQzu-oY_.d.ts:17


seed?​

optional seed?: 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/payload-BQzu-oY_.d.ts:25


textureOffset​

textureOffset: [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/payload-BQzu-oY_.d.ts:24


textureScale​

textureScale: [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/payload-BQzu-oY_.d.ts:23


voronoiOptions?​

optional voronoiOptions?: object

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/payload-BQzu-oY_.d.ts:26

approximationNeighborCount​

approximationNeighborCount: number

impactPoint?​

optional impactPoint?: [number, number, number]

impactRadius?​

optional impactRadius?: number

mode​

mode: "3D" | "2.5D"

projectionAxis?​

optional projectionAxis?: "x" | "y" | "z" | "auto" | null

projectionNormal?​

optional projectionNormal?: [number, number, number]

seedPoints?​

optional seedPoints?: [number, number, number][]

useApproximation​

useApproximation: boolean