示例#1
0
        //---------------------------------------------------------------------------

        public void ResizeCameras(int width, int height)
        {
            foreach (Guid guid in m_Cameras)
            {
                CameraComponent camera = ComponentManager.Get().Find <CameraComponent>(guid);
                if (camera != null && camera.IsInitialized)
                {
                    camera.ResizeCamera(width, height);
                }
            }
        }