Function: getObjectTargetPoint()
getObjectTargetPoint(
object,from,out,mode):Vector3
Defined in: src/utils/SceneGraphUtils.ts:80
Gets a world-space point on an object's rendered geometry near a reference
position. Falls back to the object's world position when it has no mesh
triangles. closest measures from from; center measures from the
object's world bounding-box center.
UI elements use the center of their rendered bounds.
Parameters
object
from
out
mode
"center" | "closest"