RenderGraphNodeMembership

class guerilla.RenderGraphNodeMembership

Bases: guerilla.RenderGraphNode

The base class for assignment nodes.

This node adds membership using the input’s name and the Membership plug.

For instance, if the input plug is “illuminate” and the Membeship plug is “LightSet”, then the output will have “light:LightSet” added to the grouping.membership attribute. Another example is the RenderLayer node, which contains 2 inputs, visible and matte. Attributes coming in the visible input will have “visible:xxxx” while attributes coming in the matte input will have “matte:xxxx”, where xxxx is the value in the Membership plug. When Membership contains several names, the list is split and gathered with the input name, so “xxxx,yyyy” becomes “light:xxxx,light:yyyy”, for instance.

Membership

The name of the set to add to the inputs attributes.

Type:RW