@pmndrs/bvh
Docs
GitHub
Preparing search index...
@pmndrs/bvh
traceClosestReference
Function traceClosestReference
traceClosestReference
(
scene
:
ReferenceScene
,
ray
:
TraceRay
,
options
?:
ReferenceTraceOptions
,
)
:
ReferenceHit
|
null
Nearest hit within
[tMin, tMax]
, or null. Back faces count as hits.
Parameters
scene
:
ReferenceScene
ray
:
TraceRay
options
:
ReferenceTraceOptions
= {}
Returns
ReferenceHit
|
null
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Docs
GitHub
@pmndrs/bvh
Loading...
Nearest hit within
[tMin, tMax], or null. Back faces count as hits.