RadiusInterestOptions
此内容尚不支持你的语言。
Defined in: net/replication/interest.ts:37
Properties
Section titled “Properties”position?
Section titled “position?”
optionalposition?: (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).
Parameters
Section titled “Parameters”entity
Section titled “entity”number
Returns
Section titled “Returns”{ x: number; y: number; } | null