MagicLeapProvider
Inherits from:
Provider
Public Fields
currentTrackingMode
The current tracking mode feature flag.
public override Feature currentTrackingMode { get; set; }
Details*
Magic Leap will always try to use 6DoF tracking but will automatically switch to 3DoF if it doesn't have a sufficient tracking environment. This will report which of the two modes is currently active and UnityEngine.XR.ARSubsystems.Feature.None otherwise.
requestedTrackingMode
public override Feature requestedTrackingMode { get; set; }
trackingState
public override TrackingState trackingState { get; set; }
Public Methods
override Promise< SessionAvailability > GetAvailabilityAsync
public override Promise< SessionAvailability > GetAvailabilityAsync()
override NativeArray< ConfigurationDescriptor > GetConfigurationDescriptors
public override NativeArray< ConfigurationDescriptor > GetConfigurationDescriptors(
Allocator allocator
)
Parameters
Type | Name | Description |
---|---|---|
Allocator | allocator |
override void Update
public override void Update(
XRSessionUpdateParams updateParams,
Configuration configuration
)
Parameters
Type | Name | Description |
---|---|---|
XRSessionUpdateParams | updateParams | |
Configuration | configuration |
TODO (5/26/2020): Move MLSpatialMapper specific features to shared XRMeshSubsystem extensions
Public Attributes
requestedFeatures
public override Feature requestedFeatures => SubsystemFeatures.requestedFeatures;