| Parameter | Description |
|---|---|
| srcStart | The start point of the source range [srcStart, srcEnd]. |
| srcEnd | The end point of the source range [srcStart, srcEnd]. |
| dstStart | The start point of the destination range [dstStart, dstEnd]. |
| dstEnd | The end point of the destination range [dstStart, dstEnd]. |
| x | The value to remap from the source to destination range. |
float The remap of input x from the source range to the destination range.
Returns the result of a non-clamping linear remapping of a value x from source range [srcStart, srcEnd] to the destination range [dstStart, dstEnd].
| Parameter | Description |
|---|---|
| srcStart | The start point of the source range [srcStart, srcEnd]. |
| srcEnd | The end point of the source range [srcStart, srcEnd]. |
| dstStart | The start point of the destination range [dstStart, dstEnd]. |
| dstEnd | The end point of the destination range [dstStart, dstEnd]. |
| x | The value to remap from the source to destination range. |
float2 The componentwise remap of input x from the source range to the destination range.
Returns the componentwise result of a non-clamping linear remapping of a value x from source range [srcStart, srcEnd] to the destination range [dstStart, dstEnd].
| Parameter | Description |
|---|---|
| srcStart | The start point of the source range [srcStart, srcEnd]. |
| srcEnd | The end point of the source range [srcStart, srcEnd]. |
| dstStart | The start point of the destination range [dstStart, dstEnd]. |
| dstEnd | The end point of the destination range [dstStart, dstEnd]. |
| x | The value to remap from the source to destination range. |
float3 The componentwise remap of input x from the source range to the destination range.
Returns the componentwise result of a non-clamping linear remapping of a value x from source range [srcStart, srcEnd] to the destination range [dstStart, dstEnd].
| Parameter | Description |
|---|---|
| srcStart | The start point of the source range [srcStart, srcEnd]. |
| srcEnd | The end point of the source range [srcStart, srcEnd]. |
| dstStart | The start point of the destination range [dstStart, dstEnd]. |
| dstEnd | The end point of the destination range [dstStart, dstEnd]. |
| x | The value to remap from the source to destination range. |
float4 The componentwise remap of input x from the source range to the destination range.
Returns the componentwise result of a non-clamping linear remapping of a value x from source range [srcStart, srcEnd] to the destination range [dstStart, dstEnd].
| Parameter | Description |
|---|---|
| srcStart | The start point of the source range [srcStart, srcEnd]. |
| srcEnd | The end point of the source range [srcStart, srcEnd]. |
| dstStart | The start point of the destination range [dstStart, dstEnd]. |
| dstEnd | The end point of the destination range [dstStart, dstEnd]. |
| x | The value to remap from the source to destination range. |
double The remap of input x from the source range to the destination range.
Returns the result of a non-clamping linear remapping of a value x from source range [srcStart, srcEnd] to the destination range [dstStart, dstEnd].
| Parameter | Description |
|---|---|
| srcStart | The start point of the source range [srcStart, srcEnd]. |
| srcEnd | The end point of the source range [srcStart, srcEnd]. |
| dstStart | The start point of the destination range [dstStart, dstEnd]. |
| dstEnd | The end point of the destination range [dstStart, dstEnd]. |
| x | The value to remap from the source to destination range. |
double2 The componentwise remap of input x from the source range to the destination range.
Returns the componentwise result of a non-clamping linear remapping of a value x from source range [srcStart, srcEnd] to the destination range [dstStart, dstEnd].
| Parameter | Description |
|---|---|
| srcStart | The start point of the source range [srcStart, srcEnd]. |
| srcEnd | The end point of the source range [srcStart, srcEnd]. |
| dstStart | The start point of the destination range [dstStart, dstEnd]. |
| dstEnd | The end point of the destination range [dstStart, dstEnd]. |
| x | The value to remap from the source to destination range. |
double3 The componentwise remap of input x from the source range to the destination range.
Returns the componentwise result of a non-clamping linear remapping of a value x from source range [srcStart, srcEnd] to the destination range [dstStart, dstEnd].
| Parameter | Description |
|---|---|
| srcStart | The start point of the source range [srcStart, srcEnd]. |
| srcEnd | The end point of the source range [srcStart, srcEnd]. |
| dstStart | The start point of the destination range [dstStart, dstEnd]. |
| dstEnd | The end point of the destination range [dstStart, dstEnd]. |
| x | The value to remap from the source to destination range. |
double4 The componentwise remap of input x from the source range to the destination range.
Returns the componentwise result of a non-clamping linear remapping of a value x from source range [srcStart, srcEnd] to the destination range [dstStart, dstEnd].