Class ArEnumConversion
Class that performs conversions between Unity's AR enum values and the provider's custom enums.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Experimental.UnityAR
Assembly: cs.temp.dll.dll
Syntax
public static class ArEnumConversion
Methods
ToUnityTrackedPose(ArTrackedPose)
Converts from a Ar
Declaration
public static TrackedPoseDriver.TrackedPose ToUnityTrackedPose(ArTrackedPose pose)
Parameters
Type | Name | Description |
---|---|---|
Ar |
pose | Value to convert. |
Returns
Type | Description |
---|---|
Tracked |
Unity tracked pose equivalent of the Ar |
ToUnityTrackingType(ArTrackingType)
Converts from a Ar
Declaration
public static TrackedPoseDriver.TrackingType ToUnityTrackingType(ArTrackingType trackingType)
Parameters
Type | Name | Description |
---|---|---|
Ar |
trackingType | Value to convert. |
Returns
Type | Description |
---|---|
Tracked |
Unity tracking type equivalent of the Ar |
ToUnityUpdateType(ArUpdateType)
Converts from a Ar
Declaration
public static TrackedPoseDriver.UpdateType ToUnityUpdateType(ArUpdateType updateType)
Parameters
Type | Name | Description |
---|---|---|
Ar |
updateType | Value to convert. |
Returns
Type | Description |
---|---|
Tracked |
Unity update type equivalent of the Ar |