Creates, modifies, or decomposes a spatial parameter: a regular parameter that also carries a heightfield map describing how the value varies across the terrain.
When to Use
Use this device to attach a map to a parameter, replace the map on an existing spatial parameter, or extract the individual parts of one.
How to Use
Connect a parameter or spatial parameter to the Parameter input. What the device does depends on what else you connect:
- To create a new spatial parameter, connect a plain parameter and a heightfield. The device will combine them into a spatial parameter.
- To decompose an existing spatial parameter into its parts, connect only the spatial parameter input. The base value and map are available on separate outputs.
- To replace the map on a spatial parameter, connect the spatial parameter and a new heightfield.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Parameter | Parameter / Spatial Parameter | Yes | A parameter or spatial parameter to process. |
| Replacement map | Heightfield | No | A heightfield to attach or replace as the spatial map on the parameter. |
Outputs
| Port | Type | Description |
|---|---|---|
| Spatial parameter | Spatial Parameter | The resulting spatial parameter (parameter plus its associated map). If a plain parameter arrives with no replacement map, it is passed through unchanged. |
| Parameter only | Parameter | The base parameter value without any spatial map. When the input is a spatial parameter, this is the middle of its spatial range. |
| Extract map | Heightfield | The spatial map extracted from the input. Only produced when the input is a spatial parameter and no Replacement map is connected. |
Parameters
None.