mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-13 09:08:34 +00:00
Updated Rainbow Gradient (markdown)
parent
952002a627
commit
2309ec549a
@ -7,7 +7,7 @@ Both are given in degree-values for which you can take this image as reference:
|
|||||||
|
|
||||||
> The rainbow gradient can cover more than 360 degree. To get more than one cycle of rainbow-colors just use a bigger value.
|
> The rainbow gradient can cover more than 360 degree. To get more than one cycle of rainbow-colors just use a bigger value.
|
||||||
|
|
||||||
If you want to create a gradient representing an rainbow cycling on and a half time through all colors (starting with red and ending with cyan), you can take the following code:
|
If you want to create a gradient representing an rainbow cycling one and a half time through all colors (starting with red and ending with cyan), you can take the following code:
|
||||||
|
|
||||||
```C#
|
```C#
|
||||||
RainbowGradient rainbowGradient = new RainbowGradient(0, 540);
|
RainbowGradient rainbowGradient = new RainbowGradient(0, 540);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user