MagicLeapProvider
Inherits from:
Provider
Public Fields
requestedPlaneDetectionMode
public override PlaneDetectionMode requestedPlaneDetectionMode { get; set; }
Public Methods
override void Destroy
public override void Destroy()
unsafe PlaneBoundaryCollection GetAllBoundariesForPlane
public unsafe PlaneBoundaryCollection GetAllBoundariesForPlane(
in TrackableId trackableId
)
Parameters
| Type | Name | Description |
|---|---|---|
| in TrackableId | trackableId |
unsafe override void GetBoundary
public unsafe override void GetBoundary(
TrackableId trackableId,
Allocator allocator,
ref NativeArray< Vector2 > convexHullOut
)
Parameters
| Type | Name | Description |
|---|---|---|
| TrackableId | trackableId | |
| Allocator | allocator | |
| ref NativeArray< Vector2 > | convexHullOut |
unsafe override TrackableChanges< BoundedPlane > GetChanges
public unsafe override TrackableChanges< BoundedPlane > GetChanges(
BoundedPlane defaultPlane,
Allocator allocator
)
Parameters
| Type | Name | Description |
|---|---|---|
| BoundedPlane | defaultPlane | |
| Allocator | allocator |
MagicLeapProvider
public MagicLeapProvider()
override void Start
public override void Start()
override void Stop
public override void Stop()
Public Attributes
currentPlaneDetectionMode
public override PlaneDetectionMode currentPlaneDetectionMode => _currentPlaneDetectionMode.ToPlaneDetectionMode();