Click or drag to resize

RcTestNavMeshToolFindStraightPath Method


Namespace: NeoAxis.DotRecast.Recast.Toolset.Tools
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public DtStatus FindStraightPath(
	DtNavMeshQuery navQuery,
	long startRef,
	long endRef,
	RcVec3f startPt,
	RcVec3f endPt,
	IDtQueryFilter filter,
	bool enableRaycast,
	Span<long> polys,
	out int npolys,
	Span<DtStraightPath> straightPath,
	out int straightPathCount,
	int maxStraightPath,
	int straightPathOptions
)

Parameters

navQuery  DtNavMeshQuery
 
startRef  Int64
 
endRef  Int64
 
startPt  RcVec3f
 
endPt  RcVec3f
 
filter  IDtQueryFilter
 
enableRaycast  Boolean
 
polys  SpanInt64
 
npolys  Int32
 
straightPath  SpanDtStraightPath
 
straightPathCount  Int32
 
maxStraightPath  Int32
 
straightPathOptions  Int32
 

Return Value

DtStatus
See Also