Exemplo n.º 1
0
        void Start()
        {
            tracking = gameObject.GetComponent <FaceTracking>();
            cubismparams.Add(cuParam.H_AngleX, model.Parameters.FindById(ParamAngleX));
            cubismparams.Add(cuParam.H_AngleY, model.Parameters.FindById(ParamAngleY));
            cubismparams.Add(cuParam.H_AngleZ, model.Parameters.FindById(ParamAngleZ));
            cubismparams.Add(cuParam.EyeLOpen, model.Parameters.FindById(ParamEyeLOpen));
            cubismparams.Add(cuParam.EyeROpen, model.Parameters.FindById(ParamEyeROpen));
            cubismparams.Add(cuParam.EyeBallX, model.Parameters.FindById(ParamEyeBallX));
            cubismparams.Add(cuParam.EyeBallY, model.Parameters.FindById(ParamEyeBallY));
            cubismparams.Add(cuParam.B_AngleX, model.Parameters.FindById(ParamBodyAngleX));
            cubismparams.Add(cuParam.B_AngleY, model.Parameters.FindById(ParamBodyAngleY));
            cubismparams.Add(cuParam.B_AngleZ, model.Parameters.FindById(ParamBodyAngleZ));

            ready = true;
        }
Exemplo n.º 2
0
 void Start()
 {
     tracking = gameObject.GetComponent <FaceTracking>();
 }