nodedge.blocks.add_block

class nodedge.blocks.add_block.AddBlock(scene, inputSocketTypes=(2, 2), outputSocketTypes=(1, ))

Bases: nodedge.blocks.block.Block

Parameters
  • scene (Scene) – reference to the Scene

  • title (str) – node title shown in scene

  • inputSocketTypes (Collection[int]) – list of types of the input Sockets

  • outputSocketTypes (Collection[int]) – list of types of the output Sockets

icon = '/home/docs/checkouts/readthedocs.org/user_builds/nodedge/checkouts/latest/nodedge/blocks/../resources/node_icons/add.png'
operationCode = 3
operationTitle = 'Add'
contentLabel = '+'
contentLabelObjectName = 'BlockBackground'
evalString = 'add'
evalImplementation()