Class BrushColorPalette
Defines a color palette converted from BrushStyle The palette is to be applied to a SurfaceMeshRenderableSeries3D and FreeSurfaceRenderableSeries3D e.g. to give a height-map at runtime.
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class BrushColorPalette extends renderableSeriesMeshColorPalette
Constructors
BrushColorPalette(BrushStyle brushStyle)
Creates a new instance of BrushColorPalette class
Declaration
public BrushColorPalette(BrushStyle brushStyle)
Parameters
Type | Name | Description |
---|---|---|
BrushStyle | brushStyle | The BrushStyle to use |
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 |