NodeSocket(bpy_struct)

base class — bpy_struct

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

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)
name

Socket name

Type :string, default “”
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’], default ‘VALUE’, (readonly)

Inherited Properties

Inherited Functions

References

Previous topic

NodeLinks(bpy_struct)

Next topic

NodeSocketBoolean(NodeSocket)