Class MagicLeapPlaneSubsystem.PlaneProvider
Inheritance
SubsystemProvider
SubsystemProvider<XRPlaneSubsystem>
XRPlaneSubsystem.Provider
MagicLeapPlaneSubsystem.PlaneProvider
Inherited Members
SubsystemProvider<XRPlaneSubsystem>.TryInitialize()
SubsystemProvider.running
Namespace: UnityEngine.XR.MagicLeap
Assembly: UnityEngine.XR.MagicLeap.dll
Syntax
public class MagicLeapPlaneSubsystem.PlaneProvider : XRPlaneSubsystem.Provider
Constructors
PlaneProvider()
Declaration
public PlaneProvider()
Properties
currentPlaneDetectionMode
Declaration
public override PlaneDetectionMode currentPlaneDetectionMode { get; }
Property Value
Type | Description |
---|---|
PlaneDetectionMode |
Overrides
UnityEngine.XR.ARSubsystems.XRPlaneSubsystem.Provider.currentPlaneDetectionMode
requestedPlaneDetectionMode
Declaration
public override PlaneDetectionMode requestedPlaneDetectionMode { get; set; }
Property Value
Type | Description |
---|---|
PlaneDetectionMode |
Overrides
UnityEngine.XR.ARSubsystems.XRPlaneSubsystem.Provider.requestedPlaneDetectionMode
Methods
Destroy()
Declaration
public override void Destroy()
Overrides
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRPlaneSubsystem>.Destroy()
GetAllBoundariesForPlane(TrackableId)
Declaration
public PlaneBoundaryCollection GetAllBoundariesForPlane(TrackableId trackableId)
Parameters
Type | Name | Description |
---|---|---|
TrackableId | trackableId |
Returns
Type | Description |
---|---|
PlaneBoundaryCollection |
GetBoundary(TrackableId, Allocator, ref NativeArray<Vector2>)
Declaration
public override void GetBoundary(TrackableId trackableId, Allocator allocator, ref NativeArray<Vector2> convexHullOut)
Parameters
Type | Name | Description |
---|---|---|
TrackableId | trackableId | |
Allocator | allocator | |
NativeArray<Vector2> | convexHullOut |
Overrides
UnityEngine.XR.ARSubsystems.XRPlaneSubsystem.Provider.GetBoundary(UnityEngine.XR.ARSubsystems.TrackableId, Unity.Collections.Allocator, ref Unity.Collections.NativeArray<UnityEngine.Vector2>)
GetChanges(BoundedPlane, Allocator)
Declaration
public override TrackableChanges<BoundedPlane> GetChanges(BoundedPlane defaultPlane, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
BoundedPlane | defaultPlane | |
Allocator | allocator |
Returns
Type | Description |
---|---|
TrackableChanges<BoundedPlane> |
Overrides
UnityEngine.XR.ARSubsystems.XRPlaneSubsystem.Provider.GetChanges(UnityEngine.XR.ARSubsystems.BoundedPlane, Unity.Collections.Allocator)
Start()
Declaration
public override void Start()
Overrides
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRPlaneSubsystem>.Start()
Stop()
Declaration
public override void Stop()
Overrides
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRPlaneSubsystem>.Stop()