ContextValue

class guerilla.ContextValue

Bases: guerilla.ContextControlNode

A ContextValue node allows routing a Plug value based on the current context

Context

The message plug that dependends on all inputs, and on which all outputs depend

Type:None
static setplug(plug, value)

Overrides a plug value for the current context, or set the plug default value when no context is active

Parameters:
  • plug (Plug) – The plug to override
  • value (any) – The value to set in the context