Modifier.createplugΒΆ

Plug plug Modifier.createplug ( string plugclass , Node node , string name , number flags , type type , value value )

Creates a plug in a modification context

Arguments:

  • plugclass The class of the plug to create
  • node The node in which to create the plug
  • name The name of the plug to create
  • flags The flags of the plug to create
  • type The type of the plug to create
  • value The value of the plug upon creation

Return:

  • plug The created plug