Beispiel #1
0
        /// <summary>
        /// Raises the post render event.
        /// </summary>
        void OnPostRender()
        {
            if (_trackerPlugin != null)
            {
                _trackerPlugin.PostRender();
            }

            if (_displayDebugGUI)
            {
                RenderAxes();
            }
        }
Beispiel #2
0
		/// <summary>
		/// OnPostRender is called after a camera has finished rendering the scene.
		/// This method is only called if the script is enabled and attached to the camera.
		/// </summary>
		void OnPostRender()
		{
			#if UNITY_EDITOR
			#elif UNITY_ANDROID
			if (_trackerPlugin != null)
			{
				_trackerPlugin.PostRender();
			}
			#endif

			if (_displayDebugGUI)
			{
				RenderAxes();
			}
		}
Beispiel #3
0
        /// <summary>
        /// OnPostRender is called after a camera has finished rendering the scene.
        /// This method is only called if the script is enabled and attached to the camera.
        /// </summary>
        void OnPostRender()
        {
                        #if UNITY_EDITOR
                        #elif UNITY_ANDROID || UNITY_IOS
            if (_trackerPlugin != null)
            {
                _trackerPlugin.PostRender();
            }
                        #endif

            if (_displayDebugGUI)
            {
                RenderAxes();
            }

            StartCoroutine(RenderRoutine());
        }