跳转到内容

NavSurfaceSink

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

Defined in: ai/nav/NavSurface.ts:44

Where a surface hands out its shape, for a drawer to turn into lines. A visitor rather than a returned array because the caller is a per-frame overlay over thousands of faces: the corner array a face call is given belongs to the surface and is only valid until that call returns.

border(a, b): void

Defined in: ai/nav/NavSurface.ts:48

An edge the walkable world STOPS at: a wall, a ledge, a drop.

Vec3

Vec3

void


face(corners): void

Defined in: ai/nav/NavSurface.ts:46

One walkable face — a closed convex polygon, in world space.

readonly Vec3[]

void


link(a, b): void

Defined in: ai/nav/NavSurface.ts:51

A way between two places the ground does not join — see NavLink. A surface with no such thing simply never calls it.

Vec3

Vec3

void