NodeSocketStandard(NodeSocket)#
base classes — bpy_struct
, NodeSocket
subclasses —
NodeSocketBool
, NodeSocketCollection
, NodeSocketColor
, NodeSocketFloat
, NodeSocketFloatAngle
, NodeSocketFloatColorTemperature
, NodeSocketFloatDistance
, NodeSocketFloatFactor
, NodeSocketFloatFrequency
, NodeSocketFloatPercentage
, NodeSocketFloatTime
, NodeSocketFloatTimeAbsolute
, NodeSocketFloatUnsigned
, NodeSocketFloatWavelength
, NodeSocketGeometry
, NodeSocketImage
, NodeSocketInt
, NodeSocketIntFactor
, NodeSocketIntPercentage
, NodeSocketIntUnsigned
, NodeSocketMaterial
, NodeSocketMatrix
, NodeSocketMenu
, NodeSocketObject
, NodeSocketRotation
, NodeSocketShader
, NodeSocketString
, NodeSocketStringFilePath
, NodeSocketTexture
, NodeSocketVector
, NodeSocketVectorAcceleration
, NodeSocketVectorDirection
, NodeSocketVectorEuler
, NodeSocketVectorTranslation
, NodeSocketVectorVelocity
, NodeSocketVectorXYZ
, NodeSocketVirtual
- class bpy.types.NodeSocketStandard(NodeSocket)#
- links#
List of node links from or to this socket.
- Type:
Note
Takes
O(len(nodetree.links))
time.(readonly)
- draw(context, layout, node, text)#
Draw socket
- draw_color(context, node)#
Color of the socket icon
- Parameters:
node (
Node
, (never None)) – Node, Node the socket belongs to- Returns:
Color
- Return type:
float array of 4 items in [0, 1]
- classmethod draw_color_simple()#
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 (str) – 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 (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type