Skip to content

CasterTag beta ​

Interface of @v12-engine/render

ts
export interface CasterTag

What a batch says of its casters, for the game's code (BatchOptions.caster)

Members ​

doodads ​

ts
doodads?: readonly number[] | ((copy: number) => readonly number[] | undefined);

The doodads a copy is (or every copy, a batch of one merged chunk)

unit ​

ts
unit?: boolean;

Whether its copies are units or buildings (Caster.unit)