Chain
ValueAdapter_Chain applies multiple Value Adapters sequentially to an incoming value.
Each adapter receives the result produced by the previous adapter, allowing multiple value transformations to be combined into a single Value Adapter.
| Field | Description |
|---|---|
| Adapters | Defines the Value Adapters applied to the incoming value. Adapters are executed in array order, with each adapter receiving the result of the previous adapter. |
Processing Order
The value is processed sequentially through the configured adapters:
Input Value → Adapter 1 → Adapter 2 → Adapter 3 → Final Value
info
The Adapters array must contain at least one adapter, and every element in the array must be assigned.
Example
A Chain of three Vector3 adapters that turns a facing direction into a flat 4 m offset:
| Adapter | Receives | Returns |
|---|---|---|
Alter, Multiplier (4, 4, 4) | (0.6, −0.3, 0.74) | (2.4, −1.2, 2.96) |
Project On Plane, normal (0, 1, 0) | (2.4, −1.2, 2.96) | (2.4, 0, 2.96) |
Sum, Secondary (0, 0.5, 0) | (2.4, 0, 2.96) | (2.4, 0.5, 2.96) |
The result of the last adapter, (2.4, 0.5, 2.96), is the Chain's value.