Used to create and represent 3D gradients.
Public Member Functions | |
| Gradient3D (int pixelCount) | |
| void | Add (Gradient2D gradient, float at) |
| int | IndexOf (float at) |
| RenderedGradient | Render (float at) |
| Renders a slice of this gradient at the given point. More... | |
Public Attributes | |
| float[] | Positions |
| Gradient2D[] | Gradients |
| RenderedGradient[] | RenderedGradients |
Private Attributes | |
| int | PixelCount |
|
inline |
|
inline |
|
inline |
|
inline |
Renders a slice of this gradient at the given point.
| at | The percentage along this gradient to render. Variest from 0->100. |
| Gradient2D [] Blaze.Gradient3D.Gradients |
|
private |
| float [] Blaze.Gradient3D.Positions |
| RenderedGradient [] Blaze.Gradient3D.RenderedGradients |