Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
2.98k stars 1.11k forks source link

Does android devices support Plane Classification? #1102

Closed tonyabracadabra closed 9 months ago

tonyabracadabra commented 9 months ago

I can find the documentation on plane classification in ARKit but not in ARCore so I’m concerned…

andyb-unity commented 9 months ago

ARCore does not support plane classification. You can check for this at runtime on any device by reading ARPlaneManager.descriptor.supportsClassification:

https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@5.0/api/UnityEngine.XR.ARSubsystems.XRPlaneSubsystemDescriptor.html#UnityEngine_XR_ARSubsystems_XRPlaneSubsystemDescriptor_supportsClassification

andyb-unity commented 9 months ago

Closing this issue as asked and answered. Feel free to re-open it if you have further questions.