Detailed Description

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
 

Constructor & Destructor Documentation

Blaze.Gradient3D.Gradient3D ( int  pixelCount)
inline

Member Function Documentation

void Blaze.Gradient3D.Add ( Gradient2D  gradient,
float  at 
)
inline
int Blaze.Gradient3D.IndexOf ( float  at)
inline
RenderedGradient Blaze.Gradient3D.Render ( float  at)
inline

Renders a slice of this gradient at the given point.

Parameters
atThe percentage along this gradient to render. Variest from 0->100.

Member Data Documentation

Gradient2D [] Blaze.Gradient3D.Gradients
int Blaze.Gradient3D.PixelCount
private
float [] Blaze.Gradient3D.Positions
RenderedGradient [] Blaze.Gradient3D.RenderedGradients