Пример #1
0
        void UpdateCameraFrame(MessageEventArgs mea)
        {
            serializableUnityARCamera serCamera = mea.data.Deserialize <serializableUnityARCamera> ();
            UnityARCamera             scamera   = new UnityARCamera();

            scamera = serCamera;
            InitializeTextures(scamera);
            UnityARSessionNativeInterface.SetStaticCamera(scamera);
            UnityARSessionNativeInterface.RunFrameUpdateCallbacks();
        }