Break MagicLeapRaycastHitResult

Break MagicLeapRaycastHitResult

Windows
MacOS
Linux

Adds a node that breaks a 'MagicLeapRaycastHitResult' into its member fields

Break MagicLeapRaycastHitResult
Magic Leap Raycast Hit Result
Hit State
Hit Point
X0.0
Y0.0
Z0.0
Normal
X0.0
Y0.0
Z0.0
Confidence
0.0
User Data
0

Inputs

Magic Leap Raycast Hit Result
Magic Leap Raycast Hit Result Structure (by ref)

Outputs

Hit State
EMagicLeapRaycastResultState Enum

The raycast result. If this field is either RequestFailed or NoCollision, most of the fields in this structure are invalid.

Hit Point
Vector

Where in the world the collision happened. This field is only valid if the state is either HitUnobserved or HitObserved.

Normal
Vector

Normal to the surface where the ray collided. This field is only valid if the state is either HitUnobserved or HitObserved

Confidence
Float

Confidence of the raycast result.

Confidence is a non-negative value from 0 to 1 where closer to 1 indicates a higher quality. It will be an indication of how much error there is in the averaging. For example, a flat plane will have a high confidence, while if the surface was very noisy the confidence would be very low. This field is only valid if the state is either HitUnobserved or HitObserved.

User Data
Integer

The data set in the RaycastQueryParams. This can be used for query identification.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss