class ARWorldTrackingConfigurationFactory (Niantic.ARDK.AR.Configuration.ARWorldTrackingConfigurationFactory)
Overview
class ARWorldTrackingConfigurationFactory { public: // methods static void CheckCapabilityAndSupport(Action<ARHardwareCapability, ARSoftwareSupport> callback); static bool CheckDepthEstimationSupport(); static bool CheckDepthSupport(); static bool CheckLidarDepthSupport(); static bool CheckMeshingSupport(); static bool CheckSemanticSegmentationSupport(); static IARWorldTrackingConfiguration Create(); static IARWorldTrackingConfiguration Create(RuntimeEnvironment environment); };
Detailed Documentation
Methods
static void CheckCapabilityAndSupport(Action<ARHardwareCapability, ARSoftwareSupport> callback)
Perform an asynchronous check as to whether the hardware and software are capable of and support the ARWorldTrackingConfiguration.
Note
Returns ARHardwareCapability.Capable and ARSoftwareSupport.Supported when run in the Unity Editor.
static bool CheckDepthEstimationSupport()
Check whether the device supports depth estimation.
Note
Returns true when run in the Unity Editor.
static bool CheckDepthSupport()
Check whether the device supports depth.
Note
Returns true when run in the Unity Editor.
static bool CheckLidarDepthSupport()
Check whether the device supports lidar depth.
Note
Returns false when run in the Unity Editor.
static bool CheckMeshingSupport()
Check whether the device supports meshing.
Note
Returns true when run in the Unity Editor.
static bool CheckSemanticSegmentationSupport()
Check whether the device supports semantic segmentation.
Note
Returns true when run in the Unity Editor.
static IARWorldTrackingConfiguration Create()
Initializes a new instance of the ARWorldTrackingConfiguration class.
static IARWorldTrackingConfiguration Create(RuntimeEnvironment environment)
Create an ARWorldTrackingConfiguration for the specified RuntimeEnvironment.
Parameters:
env |
Returns:
The created configuration, or null if it was not possible to create a configuration.