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.
注釈
Returns ARHardwareCapability.Capable and ARSoftwareSupport.Supported when run in the Unity Editor.
static bool CheckDepthEstimationSupport()
Check whether the device supports depth estimation.
注釈
Returns true when run in the Unity Editor.
static bool CheckDepthSupport()
Check whether the device supports depth.
注釈
Returns true when run in the Unity Editor.
static bool CheckLidarDepthSupport()
Check whether the device supports lidar depth.
注釈
Returns false when run in the Unity Editor.
static bool CheckMeshingSupport()
Check whether the device supports meshing.
注釈
Returns true when run in the Unity Editor.
static bool CheckSemanticSegmentationSupport()
Check whether the device supports semantic segmentation.
注釈
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.