Partition Class
new
Partition(spec: PartitionSpec<T>)
Create a new partition
T extends SchemaSpec<T> | null = null
The maximum number of entities able to equip this component per instance.
Partition Class
Partition(spec: PartitionSpec<T>)
Create a new partition
T extends SchemaSpec<T> | null = null
The maximum number of entities able to equip this component per instance.
Add Package
deno add jsr:@phughesmcr/partitionedbuffer
Import symbol
import { Partition } from "@phughesmcr/partitionedbuffer";
---- OR ----
Import directly with a jsr specifier
import { Partition } from "jsr:@phughesmcr/partitionedbuffer";
Add Package
npx jsr add @phughesmcr/partitionedbuffer
Import symbol
import { Partition } from "@phughesmcr/partitionedbuffer";
Add Package
yarn dlx jsr add @phughesmcr/partitionedbuffer
Import symbol
import { Partition } from "@phughesmcr/partitionedbuffer";
Add Package
pnpm dlx jsr add @phughesmcr/partitionedbuffer
Import symbol
import { Partition } from "@phughesmcr/partitionedbuffer";
Add Package
bunx jsr add @phughesmcr/partitionedbuffer
Import symbol
import { Partition } from "@phughesmcr/partitionedbuffer";