Bitmap Expression


A bitmap producer component that generates a bitmap from a mathematical expression.

This component can only be used in the Bitmap.Producers property.

Example usage: BallTexture in ZPong sample project.



The expression which defines the bitmap. The expression is called once for every pixel in the bitmap. A number of special properties are valid within the expression. "X" and "Y" holds the current x and y coordinate in 0 to 1 range. Assign "Pixel" color to set the current pixel. Example of a valid expression: "this.Pixel.R=abs(X-0.5)*2;"

Green Marinee theme adapted by David Gilbert, powered by PmWiki