Class: BaseVisualStim

visual.BaseVisualStim(options)

new BaseVisualStim(options)

Base class for all visual stimuli.
Parameters:
Name Type Description
options Object
Properties
Name Type Attributes Default Description
name String the name used when logging messages from this stimulus
win Window the associated Window
units string <optional>
"norm" the units of the stimulus (e.g. for size, position, vertices)
ori number <optional>
0.0 the orientation (in degrees)
opacity number <optional>
1.0 the opacity
pos Array.<number> <optional>
[0, 0] the position of the center of the stimulus
size number <optional>
1.0 the size
autoDraw boolean <optional>
false whether or not the stimulus should be automatically drawn on every frame flip
autoLog boolean <optional>
false whether or not to log
Mixes In:
  • WindowMixin
Source:

Extends

  • MinimalStim

Members

setOpacity

Setter for the opacity attribute.
Source:

setOri

Setter for the orientation attribute.
Source:

setPos

Setter for the position attribute.
Source:

setSize

Setter for the size attribute.
Source: