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.
Methods
Section titled “Methods”border()
Section titled “border()”border(
a,b):void
Defined in: ai/nav/NavSurface.ts:48
An edge the walkable world STOPS at: a wall, a ledge, a drop.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
face()
Section titled “face()”face(
corners):void
Defined in: ai/nav/NavSurface.ts:46
One walkable face — a closed convex polygon, in world space.
Parameters
Section titled “Parameters”corners
Section titled “corners”readonly Vec3[]
Returns
Section titled “Returns”void
link()
Section titled “link()”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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void