Beispiel #1
0
        void ReturnResults()
        {
            if (userToGetUpdate != null)
            {
                try
                {
                    if (!QcUnity.IsNullOrDestroyed_Obj(userToGetUpdate))
                    {
                        userToGetUpdate.AfterCameraRender(_projectorCamera.targetTexture);
                    }
                }
                catch (Exception ex)
                {
                    Debug.LogError(ex);
                }

                lastUserUpdateReturned = QcUnity.TimeSinceStartup();

                userToGetUpdate = null;

                if (!pauseAutoUpdates)
                {
                    painterProjectorCameraConfiguration.To(_projectorCamera);
                }
            }
        }
Beispiel #2
0
        void ReturnResults()
        {
            if (userToGetUpdate != null)
            {
                //Debug.Log("Returning user "+userToGetUpdate.ToString());

                try
                {
                    userToGetUpdate.AfterCameraRender(_projectorCamera.targetTexture);
                }
                catch (Exception ex)
                {
                    Debug.LogError(ex);
                }

                lastUserUpdateReturned = QcUnity.TimeSinceStartup();

                //if (userToGetUpdate as VolumeRayTrace != null)
                //Debug.Log("Returning result");

                userToGetUpdate = null;

                if (!pauseAutoUpdates)
                {
                    painterProjectorCameraConfiguration.To(_projectorCamera);
                }
            }
        }
Beispiel #3
0
        void ReturnResults()
        {
            if (userToGetUpdate != null)
            {
                //Debug.Log("Returning user "+userToGetUpdate.ToString());

                try
                {
                    userToGetUpdate.AfterCameraRender(_projectorCamera.targetTexture);
                }
                catch (Exception ex)
                {
                    Debug.LogError(ex);
                }

                lastUserUpdateReturned = Time.time;

                userToGetUpdate = null;

                if (!pauseAutoUpdates)
                {
                    painterProjectorCameraConfiguration.To(_projectorCamera);
                }
            }
        }