Skip to main content

EntityDefinition

@zylem/game-lib


@zylem/game-lib / runtime / EntityDefinition

Interface: EntityDefinition

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/core.d.ts:171

Everything needed to materialize one entity inside the runtime.

Properties​

body?​

optional body?: SimulationBodyDefinition

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/core.d.ts:172


colliders?​

optional colliders?: SimulationColliderDefinition[]

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/core.d.ts:173