GraphNode.setSlot

Sets properties of the slot with ID idx. If enable_left/right, a port will appear and the slot will be able to be connected from this side. type_left/right is an arbitrary type of the port. Only ports with the same type values can be connected. color_left/right is the tint of the port's icon on this side. custom_left/right is a custom texture for this side's port. Note: This method only sets properties of the slot. To create the slot, add a Control-derived child to the GraphNode.

struct GraphNode
@nogc nothrow
void
setSlot

Meta