Documentation / Node reference / code nodes
code/SubnetInput
Brings one of the enclosing subnet's inputs inside it.
Network
Gives the value wired into the subnet's input. With nothing wired, it gives its default value, of the type set here.
Parameters
| Name | Type | What it does |
|---|---|---|
| input | UInt8 | Which subnet input, from 0. |
| name | String | Name of the subnet's input. Empty uses this node's name. |
| type | UInt8 BOOL · FLOAT · S8 · S32 · S64 · U8 · U32 · U64 · VECTOR2 · VECTOR3 · VECTOR4 · VECTOR2U32 · VECTOR3U32 · MATRIX4 · LINE3 · RAY3 · PLANE · SAMPLER · TEXTURE_2D · TEXTURE_3D · TRIGGER · WORLD_OBJECT · STRING · ATTRIBUTE_NAMES · ENTITY_TYPE · BOX3 · TEXTURE_3D_FIELD · FLOAT64 · VECTOR2_64 · VECTOR3_64 · VECTOR4_64 · VECTOR4U32 · BUFFER · INTERSECTION | Type of the default value. |
| value_Bool | Bool | Value given when nothing is wired. |
| value_Float | Float | Value given when nothing is wired. |
| value_SInt32 | SInt32 | Value given when nothing is wired. |
| value_UInt32 | UInt32 | Value given when nothing is wired. |
| value_Vector2 | Vector2 | Value given when nothing is wired. |
| value_Vector2UInt | Vector2UInt | Value given when nothing is wired. |
| value_Vector3 | Vector3 | Value given when nothing is wired. |
| value_Vector3UInt | Vector3UInt | Value given when nothing is wired. |
| value_Vector4 | Vector4 | Value given when nothing is wired. |
| source | UInt8 NONE · GLOBALS · VIEW_DIRECTION | What a new polynode wires into this input. |
| sourceGlobal | UInt8 P · N · TIME · UV · CAMERA_WORLD_POS · RESOLUTION · DELTA_TIME · WORLD_P · WORLD_N · ENTITY_INDEX · INPUT_COLOR · UVW · VOXEL_POSITION | Globals output wired into this input. |
| rangeMin_Float | Float | Lowest value of the subnet's slider. |
| rangeMax_Float | Float | Highest value of the subnet's slider. |
| rangeMin_SInt32 | SInt32 | Lowest value of the subnet's slider. |
| rangeMax_SInt32 | SInt32 | Highest value of the subnet's slider. |
| rangeMin_UInt32 | UInt32 | Lowest value of the subnet's slider. |
| rangeMax_UInt32 | UInt32 | Highest value of the subnet's slider. |
| rangeMin_Vector2 | Vector2 | Lowest value of the subnet's slider. |
| rangeMax_Vector2 | Vector2 | Highest value of the subnet's slider. |
| rangeMin_Vector2UInt | Vector2UInt | Lowest value of the subnet's slider. |
| rangeMax_Vector2UInt | Vector2UInt | Highest value of the subnet's slider. |
| rangeMin_Vector3 | Vector3 | Lowest value of the subnet's slider. |
| rangeMax_Vector3 | Vector3 | Highest value of the subnet's slider. |
| rangeMin_Vector3UInt | Vector3UInt | Lowest value of the subnet's slider. |
| rangeMax_Vector3UInt | Vector3UInt | Highest value of the subnet's slider. |
| rangeMin_Vector4 | Vector4 | Lowest value of the subnet's slider. |
| rangeMax_Vector4 | Vector4 | Highest value of the subnet's slider. |
| rangeLockMin | Bool | Refuse values below the minimum. |
| rangeLockMax | Bool | Refuse values above the maximum. |
See also
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.