2d linear interpolation in x and y direction for colors
Namespace: VVVV.Utils.VColorAssembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871
Syntax
C# |
---|
public static RGBAColor BilerpRGBA( double x, double y, RGBAColor P1, RGBAColor P2, RGBAColor P3, RGBAColor P4 ) |
Parameters
- x
- Type: System..::..Double
The x position where to interpolate, 0..1
- y
- Type: System..::..Double
The y position where to interpolate, 0..1
- P1
- Type: VVVV.Utils.VColor..::..RGBAColor
Upper left color
- P2
- Type: VVVV.Utils.VColor..::..RGBAColor
Upper right color
- P3
- Type: VVVV.Utils.VColor..::..RGBAColor
Lower right color
- P4
- Type: VVVV.Utils.VColor..::..RGBAColor
Lower left color