Click or drag to resize

RcTestNavMeshToolRaycast 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 Raycast(
	DtNavMeshQuery navQuery,
	long startRef,
	long endRef,
	RcVec3f startPos,
	RcVec3f endPos,
	IDtQueryFilter filter,
	Span<long> path,
	out int npath,
	Span<DtStraightPath> straightPath,
	out int straightPathCount,
	int maxStraightPath,
	ref RcVec3f hitPos,
	ref RcVec3f hitNormal,
	ref bool hitResult
)

Parameters

navQuery  DtNavMeshQuery
 
startRef  Int64
 
endRef  Int64
 
startPos  RcVec3f
 
endPos  RcVec3f
 
filter  IDtQueryFilter
 
path  SpanInt64
 
npath  Int32
 
straightPath  SpanDtStraightPath
 
straightPathCount  Int32
 
maxStraightPath  Int32
 
hitPos  RcVec3f
 
hitNormal  RcVec3f
 
hitResult  Boolean
 

Return Value

DtStatus
See Also