![]() You can switch between left and right-eye scenes for drawing If True and your graphics card supports quad buffers then Usually 16 or 32 on newer hardware, will crash if number (The largest number of samples is determined by GL_MAX_SAMPLES, Image quality, but can delay frame flipping. (Cannot be changed after opening a window, pyglet only) numSamples : 2 or integer >2Ī single value specifying the number of samples per pixel if Multiple color samples will be taken per-pixel, providing anĪnti-aliased image through spatial filtering. If True and your graphics driver supports multisample buffers, When set to True, this allows operations that use Whether to calculate frame duration on initialization.Įstimated duration is saved in. viewOri : 0 or any numeric valueĪ single value determining the orientation of the view in degs waitBlanking : None, True or False.Īfter a call to flip() should we wait for the blank beforeĭEPRECATED in 1.80.02. Values outside the borders will beĬlamped to lie on the border. If not None, redefines the origin within the window, in the (pyglet winType only) viewScale : None or Ĭan be used to apply a custom scaling to the current units Specifies the physical screen that stimuli will appear on screen : 0, 1 (or higher if you have many screens) See Units for the window and stimuli for explanation of options. The monitor to be used during the experiment units : None, ‘height’ (of the window), ‘norm’ (normalised),ĭefines the default units of stimuli drawn in the window If None then PsychoPy will revert to user/site preferences monitor : None, string or a ~ object No buttons to close etc… winType : None, ‘pyglet’, ‘pygame’ If set to False, window will be drawn with no frame and Location of the window on the screen color : Ĭolor of background as list or single value.Įach gun can take values between -1 and 1 fullscr : None, True or Falseīetter timing can be achieved in full-screen mode allowGUI : None, True or False (if None prefs are used) Size of the window in pixels (X,Y) pos : None or (x,y) 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 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', 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, *args, **kwargs ) ¶ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |