Class: Navi3DMesh
Constructors
Accessors
Methods
Constructors
constructor
• new Navi3DMesh(pointList
, triangleIndexList
): Navi3DMesh
Parameters
Name | Type |
---|---|
pointList | Vector3 [] |
triangleIndexList | number [][] |
Returns
Defined in
src/math/navigation/Navi3DMesh.ts:43
Accessors
edges
• get
edges(): Navi3DEdge
[]
Returns
Defined in
src/math/navigation/Navi3DMesh.ts:27
points
• get
points(): Navi3DPoint
[]
Returns
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
Defined in
src/math/navigation/Navi3DMesh.ts:39
Methods
getTriangleAtPoint
▸ getTriangleAtPoint(point
, threshold?
): IQuadNode
Parameters
Name | Type | Default value |
---|---|---|
point | Vector3 | undefined |
threshold | number | 5 |
Returns
Defined in
src/math/navigation/Navi3DMesh.ts:63
findPath
▸ findPath(startPt
, endPt
, aiRadius?
): boolean
Parameters
Name | Type | Default value |
---|---|---|
startPt | Vector3 | undefined |
endPt | Vector3 | undefined |
aiRadius | number | 5 |
Returns
boolean