![]() MultiSample ( bool) – If True and your graphics driver supports multisample buffers, EstimatedĪllowStencil ( bool) – When set to True, this allows operations that use the OpenGL Use BitsSharp class from pycrsltdĬheckTiming ( bool) – Whether to calculate frame duration on initialization. ![]() WaitBlanking ( bool or None) – After a call to flip() should we wait for theīitsMode ( bool) – DEPRECATED in 1.80.02. ViewOri ( float) – A single value determining the orientation of the view in degrees. Values outside the borders will be clamped to lie on ViewPos ( array-like of float or None) – If not None, redefines the origin within the window, in the units ViewScale ( array-like of float or None) – Scaling factors to apply custom scaling to the current units Screen ( int) – Specifies the physical screen that stimuli will appear on (‘pyglet’Īnd ‘glfw’ winType only). Units ( str or None) – Defines the default units of stimuli drawn in the window (can be Monitor ( Monitor or None) – The monitor to be used during the experiment. WinType ( str or None) – Set the window type or back-end to use. ![]() To close etc., use None for value from preferences. Better timing can be achievedĪllowGUI ( bool or None) – If set to False, window will be drawn with no frame and no buttons Each gun canįullscr ( bool or None) – Create a window in ‘full-screen’ mode. Ĭolor ( array-like of float) – Color of background as list or single value. Pos ( array-like of int) – Location of the top-left corner of the window on the screen. Size ( array-like of int) – Size of the window in pixels. See further downįor a list of attributes which can be changed after initialization These attributes can only be set at initialization. Project (we won’t be fixing pygame-specific bugs). Pygame may still work for you but it’s officially deprecated in this The GLFW backend is a new addition which provides most of the same featuresĪs pyglet, but provides greater flexibility for complex display To specify which screen to use (if more than one is available, duh!) and The pyglet backend allows multiple windows to be created, allows the user Used to set up a context in which to draw objects, Window ( size = (800, 600), pos = None, color = (0, 0, 0), colorSpace = 'rgb', backgroundImage = None, backgroundFit = 'cover', rgb = None, dkl = None, lms = None, fullscr = None, allowGUI = None, monitor = None, bitsMode = None, winType = None, units = None, gamma = None, blendMode = 'avg', screen = 0, viewScale = None, viewPos = None, viewOri = 0.0, waitBlanking = True, allowStencil = False, multiSample = False, numSamples = 2, stereo = False, name = 'window1', checkTiming = True, useFBO = False, useRetina = True, autoLog = True, gammaErrorPolicy = 'raise', bpc = (8, 8, 8), depthBits = 8, stencilBits = 8, backendConf = None ) ¶ ![]() A class representing a window for displaying one or more stimuli. ![]()
0 Comments
Leave a Reply. |