nodedge.blocks.subtract_block

class nodedge.blocks.subtract_block.SubtractBlock(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/subtract.png'
operationCode = 4
operationTitle = 'Subtract'
contentLabel = '-'
contentLabelObjectName = 'BlockBackground'
evalImplementation()