Exemple #1
0
    private void UpdateCameraFrame(MessageEventArgs mea)
    {
        serializableUnityARCamera serCamera = mea.data.Deserialize <serializableUnityARCamera> ();

        UnityARCamera scamera = new UnityARCamera();

        scamera = serCamera;

        InitializeTextures(scamera);

        UnityARSessionNativeInterface.SetStaticCamera(scamera);
        UnityARSessionNativeInterface.RunFrameUpdateCallbacks();
        SaveData(_timeCount, CallMethodTypeId.UpdateCameraFrame, mea, false);
    }