Function: transformRgbUvToWorld()
transformRgbUvToWorld(
rgbUv,depthMeshSnapshot,cameraParametersSnapshot):null| {depthInMeters:number;worldNormal:Vector3;worldPosition:Vector3; }
Defined in: src/camera/CameraUtils.ts:143
Raycasts to the depth mesh to find the world position and normal at a given UV coordinate.
Parameters
rgbUv
The UV coordinate to raycast from.
depthMeshSnapshot
The depth mesh to raycast against.
cameraParametersSnapshot
worldFromClip
worldFromView
Returns
null | { depthInMeters: number; worldNormal: Vector3; worldPosition: Vector3; }
The world position, normal, and depth at the given UV coordinate.