public class BrushColorPalette extends MeshColorPalette
BrushStyle
The palette is to be applied to a SurfaceMeshRenderableSeries3D
and FreeSurfaceRenderableSeries3D
e.g. to give a height-map at runtime.Constructor and Description |
---|
BrushColorPalette(com.scichart.drawing.common.BrushStyle brushStyle)
Creates a new instance of
BrushColorPalette class |
Modifier and Type | Method and Description |
---|---|
Texture2D |
getTexture(int width,
int height)
Gets the
Texture2D to apply to the SurfaceMeshRenderableSeries3D and FreeSurfaceRenderableSeries3D , given the size passed in |
public BrushColorPalette(com.scichart.drawing.common.BrushStyle brushStyle)
BrushColorPalette
classbrushStyle
- The BrushStyle
to usepublic Texture2D getTexture(int width, int height)
MeshColorPalette
Texture2D
to apply to the SurfaceMeshRenderableSeries3D
and FreeSurfaceRenderableSeries3D
, given the size passed ingetTexture
in class MeshColorPalette
width
- The width of texture to createheight
- The height of texture to create