NodeInput
common/shadernode.pyRepresentation of a Blender Shader Node input socket.
| Attributes | ||
|---|---|---|
| instance | — | |
| node_name | — | |
| input_name | — | |
| value | Any | Get value of the default_value of the input socket. |
| Methods | ||
| as_bpy() | NodeSocket | Get a pointer to the Blender node input socket. Useful for sliders. |
| draw_prop() | Draw a slider for this input in the UI. | |
Attributes
No description yet.
No description yet.
NodeInput.input_name
sourceNo description yet.
Get value of the default_value of the input socket.
Methods
Get a pointer to the Blender node input socket. Useful for sliders.
Returns NodeSocket — Pointer to the Blender node input socket.
Draw a slider for this input in the UI.
| Parameter | Type | Description |
|---|---|---|
| layout | UILayout | Layout to draw the slider in. |
| text | str | Text to display next to the slider. |