跳转到内容

RadiusInterestOptions

此内容尚不支持你的语言。

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

optional position?: (world, entity) => InterestPoint | null

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

How to read an entity’s 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

InterestPoint | null