Use ARKit Plugin
Flutter ARKit Plugin
In this example, we used plugin below to use features of AR Kit.
ARKitSceneView
You can use ARKitSceneView
from ARKit plugin. In this example, we used Stack
to make ARKitSceneView
and UnityWidget
can be aligned to show AR mode of MYTY Avatar. You can add callback function to onARKitViewCreated
to register your update function.
Handle Face Tracking results
Face detection result of AR Kit is in a format of ARKitFaceAnchor
in AR Kit plugin. You can refer to the code below, to see how we translated AR Kit result into the format of data that can be used for MYTY SDK Interface.
Last updated