NodeSocket(bpy_struct)

base class — bpy_struct

subclasses — NodeSocketStringNone, NodeSocketFloatPercentage, NodeSocketIntUnsigned, NodeSocketVectorTranslation, NodeSocketShader, NodeSocketVectorDirection, NodeSocketBoolean, NodeSocketRGBA, NodeSocketFloatTime, NodeSocketVectorNone, NodeSocketVectorXYZ, NodeSocketFloatNone, NodeSocketFloatAngle, NodeSocketStringFilepath, NodeSocketVectorEuler, NodeSocketVectorVelocity, NodeSocketFloatFactor, NodeSocketFloatDistance, NodeSocketIntNone, NodeSocketFloatUnsigned, NodeSocketVectorAcceleration

class bpy.types.NodeSocket(bpy_struct)

Input or output socket of a node

group_socket

For group nodes, the group input or output socket this corresponds to

Type :NodeSocket, (readonly)
hide

Hide the socket

Type :boolean, default False
is_linked

True if the socket is connected

Type :boolean, default False, (readonly)
name

Socket name

Type :string, default “”, (never None)
show_expanded

Socket links are expanded in the user interface

Type :boolean, default False
type

Node Socket type

Type :enum in [‘VALUE’, ‘VECTOR’, ‘RGBA’, ‘SHADER’, ‘BOOLEAN’, ‘MESH’, ‘INT’, ‘STRING’], default ‘VALUE’, (readonly)

List of node links from or to this socket (readonly)

Inherited Properties

Inherited Functions

References

Previous topic

NodeReroute(SpecialNode)

Next topic

NodeSocketBoolean(NodeSocket)