API
Babylon Lite API
|
NavcatRaycastResult
…
|
Babylon Lite API
|
NavcatRaycastResult
NavcatRaycastResult
Interface NavcatRaycastResult
Surface raycast snapshot; fraction is 1 and normal is zero on a miss.
interface
NavcatRaycastResult
{
fraction
:
number
;
hit
:
boolean
;
nodeRefs
:
number
[]
;
normal
:
Vec3
;
position
:
Vec3
;
}
Index
Properties
fraction
hit
node
Refs
normal
position
Properties
fraction
fraction
:
number
hit
hit
:
boolean
node
Refs
nodeRefs
:
number
[]
normal
normal
:
Vec3
position
position
:
Vec3
Surface raycast snapshot; fraction is 1 and normal is zero on a miss.