Map If

Conditional mapping node. Applies a map chain only if a condition is met.

The Map If node applies a mapping chain conditionally.

  • Gating: Checks a condition (Attribute vs Value/Attribute/Map).
  • Selective Application: If the condition is true, the connected "True" map chain is applied. Otherwise, it passes the input value unchanged (or applies a "False" chain).

Concept

Non-Linear Mapping Standard Maps are linear. Map If introduces branching logic into your parameter controls. Use it to apply specific effects only to certain parts of the plant (e.g., "Add noise to Pitch only if Height > 5").


Inputs

  • Input 0 — Previous Map The incoming value stream.
  • Input 1 — True Map The map chain to apply if the condition is met.
  • Input 2 — False Map (Optional) The map chain to apply if the condition is NOT met.
  • Output — Resulting Map The conditionally modified value.

Parameters

Condition

  • Attribute: The attribute to test.
  • Operator: Comparison type (>, <, ==).
  • Threshold: Value to compare against.

Attributes

Consumes attributes for the condition check.


Workflow

  1. Start a map chain.
  2. Insert a Map If node.
  3. Create a separate map chain for your "special effect" (e.g., high turbulence).
  4. Connect it to the True Map input of Map If.
  5. Set the condition (e.g., age > 3).

NodeRelationship
MapThe basic mapping node
Map BlendBlends chains instead of switching