Passes its input through only when the data is of the selected type, and blocks anything else.
When to Use
- Giving a wire a definite type: Useful after devices that accept and output any kind of data, such as a Route Chooser or Switch.
- Guarding a branch: Keep the wrong kind of data from reaching a branch.
How to Use
Place the Type Filter on a wire and choose the Type you expect. Matching data passes through unchanged; anything else is blocked.
- Place the Type Filter after a device whose output can carry any type, such as a Route Chooser or Switch.
- Set Type to the type you expect downstream.
- Connect the output to the devices that need that type.
Inputs
| Port | Type | Required/Optional | Description |
|---|---|---|---|
| Primary Input | Any | Required | The data to check. |
Outputs
| Port | Type | Description |
|---|---|---|
| Output (named after the selected type, for example Heightfield) | The selected type | The input data, if it matches the selected type. |
Parameters
Type — The kind of data allowed through. Anything else is blocked. Default: Heightfield.
- Built-in types: Any Type, Heightfield, RGB Bitmap, VDM, Parameter, Placement, Text, Curve, Byte Grid, Int Grid.
- After those, the list includes the composite datatypes known to the project, shown with their namespace (for example Core.Material). A composite input also passes if it can be converted to the chosen composite type.
- Any Type lets everything through.
- The output port is renamed and retyped to match your choice, so wires from it connect only where that type is accepted.
- This setting cannot be driven by a parameter wire.
Tips and Tricks
- When the incoming data doesn’t match, the Type Filter produces no output, and the devices downstream of it receive nothing.