Skip to main content
Version: 12 Dec 2024

MagicLeapProvider

Inherits from:
Provider

Public Fields

requestedPlaneDetectionMode


public override PlaneDetectionMode requestedPlaneDetectionMode { get; set; }


Public Methods

override void Destroy

public override void Destroy()

override void GetBoundary

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

Parameters

TypeNameDescription
TrackableIdtrackableId
Allocatorallocator
ref NativeArray< Vector2 >convexHullOut

override unsafe TrackableChanges< BoundedPlane > GetChanges

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

Parameters

TypeNameDescription
BoundedPlanedefaultPlane
Allocatorallocator

override void Start

public override void Start()

override void Stop

public override void Stop()

Public Attributes

currentPlaneDetectionMode


public override PlaneDetectionMode currentPlaneDetectionMode => currentPlaneDetectionModeInternal.ToPlaneDetectionMode();