# NodeInput

> Human Generator for Blender documentation. Web version: https://humgen3d.com/docs/api/nodeinput

Reached as: `human.age.age_color`, `human.age.age_wrinkles`, `human.eyes.iris_color`, `human.eyes.sclera_color`, `human.skin.cavity_strength`, `human.skin.freckles`, `human.skin.normal_strength`, `human.skin.redness`, `human.skin.roughness_multiplier`, `human.skin.saturation`, `human.skin.splotches`, `human.skin.tone`, `human.hair.eyebrows.fast_or_accurate`, `human.hair.eyebrows.hue`, `human.hair.eyebrows.lightness`, `human.hair.eyebrows.redness`, `human.hair.eyebrows.root_lightness`, `human.hair.eyebrows.root_redness`, `human.hair.eyebrows.roots`, `human.hair.eyebrows.roots_hue`, `human.hair.eyebrows.roughness`, `human.hair.eyebrows.salt_and_pepper`, `human.hair.eyelashes.fast_or_accurate`, `human.hair.eyelashes.hue`, `human.hair.eyelashes.lightness`, `human.hair.eyelashes.redness`, `human.hair.eyelashes.root_lightness`, `human.hair.eyelashes.root_redness`, `human.hair.eyelashes.roots`, `human.hair.eyelashes.roots_hue`, `human.hair.eyelashes.roughness`, `human.hair.eyelashes.salt_and_pepper`, `human.hair.face_hair.fast_or_accurate`, `human.hair.face_hair.hue`, `human.hair.face_hair.lightness`, `human.hair.face_hair.redness`, `human.hair.face_hair.root_lightness`, `human.hair.face_hair.root_redness`, `human.hair.face_hair.roots`, `human.hair.face_hair.roots_hue`, `human.hair.face_hair.roughness`, `human.hair.face_hair.salt_and_pepper`, `human.hair.regular_hair.fast_or_accurate`, `human.hair.regular_hair.hue`, `human.hair.regular_hair.lightness`, `human.hair.regular_hair.redness`, `human.hair.regular_hair.root_lightness`, `human.hair.regular_hair.root_redness`, `human.hair.regular_hair.roots`, `human.hair.regular_hair.roots_hue`, `human.hair.regular_hair.roughness`, `human.hair.regular_hair.salt_and_pepper`, `human.skin.gender_specific.beard_shadow`, `human.skin.gender_specific.blush_color`, `human.skin.gender_specific.blush_opacity`, `human.skin.gender_specific.eyebrows_color`, `human.skin.gender_specific.eyebrows_opacity`, `human.skin.gender_specific.eyeliner_color`, `human.skin.gender_specific.eyeliner_opacity`, `human.skin.gender_specific.foundation_amount`, `human.skin.gender_specific.foundation_color`, `human.skin.gender_specific.lipstick_color`, `human.skin.gender_specific.lipstick_opacity`, `human.skin.gender_specific.mustache_shadow`

Source: https://github.com/OliverJPost/HumGen3D/blob/main/common/shadernode.py#L15

Representation of a Blender Shader Node input socket.

## Attributes

### instance

```python
NodeInput.instance
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/common/shadernode.py#L21

### node_name

```python
NodeInput.node_name
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/common/shadernode.py#L22

### input_name

```python
NodeInput.input_name
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/common/shadernode.py#L23

### value

```python
NodeInput.value: Any
```

Get value of the default_value of the input socket.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/common/shadernode.py#L26

## Methods

### as_bpy()

```python
NodeInput.as_bpy() -> NodeSocket
```

Get a pointer to the Blender node input socket. Useful for sliders.

Returns: NodeSocket — Pointer to the Blender node input socket.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/common/shadernode.py#L53

### draw_prop()

```python
NodeInput.draw_prop(layout: UILayout, text: str)
```

Draw a slider for this input in the UI.

Parameters:
- `layout` (UILayout): Layout to draw the slider in.
- `text` (str): Text to display next to the slider.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/common/shadernode.py#L62
