AntTweakBar.Tw.WindowSize C# (CSharp) Метод

WindowSize() публичный статический Метод

Call this function to inform AntTweakBar of the size of the application graphics window, or to restore AntTweakBar graphics resources (after a fullscreen switch for instance).
public static WindowSize ( int width, int height ) : void
width int Width of the graphics window.
height int Height of the graphics window.
Результат void
        public static void WindowSize(int width, int height)
        {
            if (!NativeMethods.TwWindowSize(width, height)) {
                throw new AntTweakBarException("TwWindowSize failed.");
            }
        }