Skip to main content

CheckFeatureAvailability

Description

Check AR features are support on current device

Return

TypeDescription
BoolTrue:Supports,False:otherwise

Method

public bool CheckFeatureAvailability(string _featureName)
FeatureName
SimpleAR
ImageTracking
Anchors
CpuImages
EnvironmentProbes
ARCollaborationData
ARKitCoachingOverlay
ObjectTracking
FaceTracking
BodyTracking
BasicLightEstimation
HDRLightEstimation
PlaneClassification
Meshing
Depth
ThermalState
TryAcquireAROcclusionFrame

Example

internal static API ARMODAPI = new API(nameof(APITest));
private void OnLoad()
{
if(ARMODAPI.CheckFeatureAvailability("SimpleAR")){
Debug.Log("SimpleAR Availability");
}
}