Skip to content

Class: Navi3DMesh

Constructors

Accessors

Methods

Constructors

constructor

new Navi3DMesh(pointList, triangleIndexList): Navi3DMesh

Parameters

NameType
pointListVector3[]
triangleIndexListnumber[][]

Returns

Navi3DMesh

Defined in

src/math/navigation/Navi3DMesh.ts:43

Accessors

edges

get edges(): Navi3DEdge[]

Returns

Navi3DEdge[]

Defined in

src/math/navigation/Navi3DMesh.ts:27


points

get points(): Navi3DPoint[]

Returns

Navi3DPoint[]

Defined in

src/math/navigation/Navi3DMesh.ts:31


path

get path(): Vector3[]

Returns

Vector3[]

Defined in

src/math/navigation/Navi3DMesh.ts:35


triangles

get triangles(): Navi3DTriangle[]

Returns

Navi3DTriangle[]

Defined in

src/math/navigation/Navi3DMesh.ts:39

Methods

getTriangleAtPoint

getTriangleAtPoint(point, threshold?): IQuadNode

Parameters

NameTypeDefault value
pointVector3undefined
thresholdnumber5

Returns

IQuadNode

Defined in

src/math/navigation/Navi3DMesh.ts:63


findPath

findPath(startPt, endPt, aiRadius?): boolean

Parameters

NameTypeDefault value
startPtVector3undefined
endPtVector3undefined
aiRadiusnumber5

Returns

boolean

Defined in

src/math/navigation/Navi3DMesh.ts:67