NodeSocketInterfaceStandard(NodeSocketInterface)

base classes — bpy_struct, NodeSocketInterface

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

class bpy.types.NodeSocketInterfaceStandard(NodeSocketInterface)
type

Data type

Type :enum in [‘CUSTOM’, ‘VALUE’, ‘INT’, ‘BOOLEAN’, ‘VECTOR’, ‘STRING’, ‘RGBA’, ‘SHADER’], default ‘VALUE’, (readonly)
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)