Class TrackingModeExtensions
Extensions for the TrackingFeature
enums,
allowing conversion between the two.
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
public static class TrackingModeExtensions
Methods
ToFeature(TrackingMode)
Converts a TrackingUnityEngine.XR.ARSubsystems.Feature
.
Declaration
public static Feature ToFeature(this TrackingMode self)
Parameters
Type | Name | Description |
---|---|---|
Tracking |
self | The Tracking |
Returns
Type | Description |
---|---|
Feature | A |
ToTrackingMode(Feature)
Converts a UnityEngine.XR.ARSubsystems.Feature
to a Tracking
Declaration
public static TrackingMode ToTrackingMode(this Feature self)
Parameters
Type | Name | Description |
---|---|---|
Feature | self | The |
Returns
Type | Description |
---|---|
Tracking |
The Tracking |