Skip to content

ecsia-monorepo / three/src / InstancedSyncOptions

Interface: InstancedSyncOptions

Defined in: three/src/instanced-sync.ts:24

Properties

mesh

ts
readonly mesh: InstancedMesh;

Defined in: three/src/instanced-sync.ts:26

The instanced mesh whose instanceMatrix is written. Its capacity caps the synced entity count.


position

ts
readonly position: PositionDef;

Defined in: three/src/instanced-sync.ts:28

Position component ({ x, y, z } f32).


rotation?

ts
readonly optional rotation?: RotationDef;

Defined in: three/src/instanced-sync.ts:30

Optional rotation quaternion ({ x, y, z, w } f32; identity when omitted).


scale?

ts
readonly optional scale?: ScaleDef;

Defined in: three/src/instanced-sync.ts:32

Optional scale ({ x, y, z } f32; (1,1,1) when omitted).


where?

ts
readonly optional where?: readonly QueryTerm[];

Defined in: three/src/instanced-sync.ts:34

Extra query terms to narrow the matched set (e.g. has(Renderable), without(Hidden)).


name?

ts
readonly optional name?: string;

Defined in: three/src/instanced-sync.ts:36

System name (default 'three:instancedSync').

MIT licensed · 0.x, unpublished, experimental.