API reference

MRUKEnvironmentRaycastHit Class

Represents the result of an environment raycast operation in the mixed reality scene.

Signature

data class MRUKEnvironmentRaycastHit(
    val result: MRUKEnvironmentRaycastHitResult,
    val point: Vector3,
    val normal: Vector3,
)

Constructors

MRUKEnvironmentRaycastHit ( result , point , normal )
Signature
constructor(result: MRUKEnvironmentRaycastHitResult, point: Vector3, normal: Vector3)
Parameters
result: MRUKEnvironmentRaycastHitResult  The outcome status of the raycast operation
point: Vector3  The 3D position where the ray intersected with the environment
normal: Vector3  The surface normal vector at the intersection point
Returns
MRUKEnvironmentRaycastHit

Properties

normal : Vector3
[Get]
The surface normal vector at the intersection point
Signature
val normal: Vector3
point : Vector3
[Get]
The 3D position where the ray intersected with the environment
Signature
val point: Vector3
[Get]
The outcome status of the raycast operation
Signature
val result: MRUKEnvironmentRaycastHitResult