API reference
API reference
Select your platform
No SDKs available
No versions available

MRUKEnvironmentRaycastHit Class

Modifiers: final
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
  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

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
The outcome status of the raycast operation
Signature
val result: MRUKEnvironmentRaycastHitResult
Did you find this page helpful?