ReferenceScripting APIMotionColourmix
MotionColour.mix
methodBetween two colours, t of the way.
| Name | mix |
|---|---|
| Kind | method of MotionColour |
| Called as | colour.mix(…) |
| As a node | Lerp Colour (logic graph) |
| Since | 0.4 |
Syntax
mix( a: string, b: string, t: number): stringParameters
| Name | Type | Description |
|---|---|---|
a | string | From |
b | string | To |
t | number | 0 to 1 |
Returns
string: the colour.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.