NodeSocketInterfaceStandard(NodeSocketInterface)

base classes — bpy_struct, NodeSocketInterface

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

class bpy.types.NodeSocketInterfaceStandard(NodeSocketInterface)
type

Data type

Type

enum in [‘CUSTOM’, ‘VALUE’, ‘INT’, ‘BOOLEAN’, ‘VECTOR’, ‘STRING’, ‘RGBA’, ‘SHADER’, ‘OBJECT’, ‘IMAGE’, ‘EMITTERS’, ‘EVENTS’, ‘FORCES’, ‘CONTROL_FLOW’], 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]

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions