nodedge.blocks.input_block

class nodedge.blocks.input_block.InputBlock(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/input.png'
operationCode = 1
operationTitle = 'Input'
contentLabel = 'In'
contentLabelObjectName = 'InputBlockContent'
initInnerClasses()

Set up graphics node and content widget.

evalImplementation()