NodeSocketInterfaceStandard(NodeSocketInterface)

base classes — bpy_struct, NodeSocketInterface

subclasses — NodeSocketInterfaceIntPercentage, NodeSocketInterfaceColor, NodeSocketInterfaceVectorVelocity, NodeSocketInterfaceVectorTranslation, NodeSocketInterfaceVector, NodeSocketInterfaceString, NodeSocketInterfaceBool, NodeSocketInterfaceFloatPercentage, NodeSocketInterfaceInt, NodeSocketInterfaceVectorDirection, NodeSocketInterfaceIntFactor, NodeSocketInterfaceShader, NodeSocketInterfaceFloat, NodeSocketInterfaceVectorAcceleration, NodeSocketInterfaceVectorXYZ, NodeSocketInterfaceFloatTime, NodeSocketInterfaceIntUnsigned, NodeSocketInterfaceFloatFactor, NodeSocketInterfaceVectorEuler, NodeSocketInterfaceFloatUnsigned, NodeSocketInterfaceFloatAngle

class bpy.types.NodeSocketInterfaceStandard(NodeSocketInterface)
draw(context, layout)

Draw template settings

Parameters:layout (UILayout, (never None)) – Layout, Layout in the UI
draw_color(context)

Color of the socket icon

Returns:Color
Return type:float array of 4 items in [0, 1]

Inherited Properties

Inherited Functions

Previous topic

NodeSocketInterfaceShader(NodeSocketInterfaceStandard)

Next topic

NodeSocketInterfaceString(NodeSocketInterfaceStandard)