Constructors
constructor
- new dtRaycastHit(): dtRaycastHit
Properties
hitEdgeIndex
hitEdgeIndex: number
hitNormal
hitNormal: number
maxPath
maxPath: number
path
path: number
pathCost
pathCost: number
pathCount
pathCount: number
t
t: number
Methods
get_hitEdgeIndex
- get_hitEdgeIndex(): number
Returns number
get_hitNormal
- get_hitNormal(index): number
Returns number
get_maxPath
- get_maxPath(): number
Returns number
get_path
- get_path(index): number
Returns number
get_pathCost
- get_pathCost(): number
Returns number
get_pathCount
- get_pathCount(): number
Returns number
get_t
- get_t(): number
Returns number
set_hitEdgeIndex
- set_hitEdgeIndex(hitEdgeIndex): void
Returns void
set_hitNormal
- set_hitNormal(index, hitNormal): void
Parameters
index: number
hitNormal: number
Returns void
set_maxPath
- set_maxPath(maxPath): void
Returns void
set_path
- set_path(index, path): void
Parameters
index: number
path: number
Returns void
set_pathCost
- set_pathCost(pathCost): void
Returns void
set_pathCount
- set_pathCount(pathCount): void
Returns void
set_t
- set_t(t): void
Returns void