Class ARMobileHitTestResult
A result generated by the HitTest(Vector2, out ARMobileHitTestResult[]) method.
Inherited Members
Namespace: Evergine.ARMobile.HitTest
Assembly: Evergine.ARMobile.dll
Syntax
public class ARMobileHitTestResult
Fields
Anchor
If not null, the XRTrackableItem of the detected surface.
Declaration
public XRTrackableItem Anchor
Field Value
| Type | Description |
|---|---|
| XRTrackableItem |
Distance
The distance, in meters, to the detected object.
Declaration
public float Distance
Field Value
| Type | Description |
|---|---|
| float |
WorldTransform
The position and orientation of the detected object relative to the world coordinate system.
Declaration
public Matrix4x4 WorldTransform
Field Value
| Type | Description |
|---|---|
| Matrix4x4 |