uv
TypeScriptget uv(): SDKHandleSwift declarationvar uv: SIMD2<Float> { get }The barycentric uv coordinate for where in the triangle the ray hit.
struct · iOS 18.0+ · SDK 27.1
struct TriangleHitInformation returned when ray intersects a triangle mesh.
get uv(): SDKHandleSwift declarationvar uv: SIMD2<Float> { get }The barycentric uv coordinate for where in the triangle the ray hit.
get faceIndex(): numberSwift declarationvar faceIndex: Int { get }The face index for the mesh face that that the ray hit.
No declarations were skipped in this snapshot.