Esempio n. 1
0
 public ARFaceAnchor(UnityARFaceAnchorData ufad)
 {
     faceAnchorData = ufad;
     m_FaceGeometry = new ARFaceGeometry(ufad.faceGeometry);
     if (blendshapesDictionary == null)
     {
         blendshapesDictionary = new Dictionary <string, float> ();
     }
 }
Esempio n. 2
0
        public ARFaceAnchor(UnityARFaceAnchorData ufad)
        {
            faceAnchorData = ufad;
            m_FaceGeometry = new ARFaceGeometry(ufad.faceGeometry);
            if (blendshapesDictionary == null)
            {
                blendshapesDictionary = new Dictionary <string, float> ();
            }

            m_blendshapesDictionary = new Dictionary <string, float>(GetBlendShapesFromNative(faceAnchorData.blendShapes));
        }