Skip to main content
Version: 21 Aug 2024

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

TypeNameDescription
in TrackableIdtrackableId

unsafe override void GetBoundary

public unsafe override void GetBoundary(
TrackableId trackableId,
Allocator allocator,
ref NativeArray< Vector2 > convexHullOut
)

Parameters

TypeNameDescription
TrackableIdtrackableId
Allocatorallocator
ref NativeArray< Vector2 >convexHullOut

unsafe override TrackableChanges< BoundedPlane > GetChanges

public unsafe override TrackableChanges< BoundedPlane > GetChanges(
BoundedPlane defaultPlane,
Allocator allocator
)

Parameters

TypeNameDescription
BoundedPlanedefaultPlane
Allocatorallocator

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();