Class SolidColorBrushPalette
Defines a color palette with single color which can be used with SurfaceMeshRenderableSeries3D and FreeSurfaceRenderableSeries3D e.g. to give a height-map at runtime.
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class SolidColorBrushPalette extends renderableSeriesMeshColorPalette
Constructors
SolidColorBrushPalette(int color)
Creates a new instance of SolidColorBrushPalette class
Declaration
public SolidColorBrushPalette(int color)
Parameters
Type | Name | Description |
---|---|---|
int | color | The color to use by palette |
Methods
getTexture(int width, int height)
Gets the Texture2D to apply to the SurfaceMeshRenderableSeries3D and FreeSurfaceRenderableSeries3D, given the size passed in
Declaration
public Texture2D getTexture(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
int | width | |
int | height |
Returns
Type | Description |
---|---|
Texture2D |