Skip to content

RadiusInterestOptions

Defined in: net/replication/interest.ts:37

optional position?: (world, entity) => { x: number; y: number; } | null

Defined in: net/replication/interest.ts:44

How to read an entity’s 2D position. Defaults to the Transform component’s world-space position. Return null for “this entity has no place” — such entities are always relevant (they can’t be culled by distance).

World

number

{ x: number; y: number; } | null