data class MRUKHit(val hitDistance: Float, val hitPosition: Vector3, val hitNormal: Vector3, val roomAnchorUuid: UUID, val sceneAnchorUuid: UUID)
MRUKHit
(
hitDistance
, hitPosition
, hitNormal
, roomAnchorUuid
, sceneAnchorUuid
)
|
Signature
constructor(hitDistance: Float, hitPosition: Vector3, hitNormal: Vector3, roomAnchorUuid: UUID, sceneAnchorUuid: UUID) Parameters
hitDistance:
Float
roomAnchorUuid:
UUID
sceneAnchorUuid:
UUID
Returns |
hitDistance
: Float
[Get] |
The distance from the ray origin to the hit point
Signature
val hitDistance: Float |
hitNormal
: Vector3
[Get] |
The surface normal vector at the hit point
Signature
val hitNormal: Vector3 |
hitPosition
: Vector3
[Get] |
The 3D position where the ray intersected with the anchor
Signature
val hitPosition: Vector3 |
roomAnchorUuid
: UUID
[Get] |
The unique identifier of the room containing the hit anchor
Signature
val roomAnchorUuid: UUID |
sceneAnchorUuid
: UUID
[Get] |
The unique identifier of the specific anchor that was hit
Signature
val sceneAnchorUuid: UUID |