iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIMeshColorPalette
@interface SCIMeshColorPalette : NSObject
A MeshColorPalette is the base class for palettes for the SCISurfaceMeshRenderableSeries3D
and SCIFreeSurfaceRenderableSeries3D
.
Warning
Designed to be an abstract class, hence should be used for inheritance only. No direct initializations.-
Gets the
ISCITexture2D
instance to apply to theSCISurfaceMeshRenderableSeries3D
andSCIFreeSurfaceRenderableSeries3D
, given the size passed in.Declaration
Objective-C
- (nonnull id<ISCITexture2D>)getTextureWithWidth:(int)width height:(int)height;
Swift
func getTextureWithWidth(_ width: Int32, height: Int32) -> ISCITexture2D
Parameters
width
The width of texture to create.
height
The height of texture to create.
Return Value
The
ISCITexture2D
instance to apply to series. -
Gets the
ISCITexture2D
instance to apply to theSCISurfaceMeshRenderableSeries3D
andSCIFreeSurfaceRenderableSeries3D
.Note
Default size of this texture is1024x1
. If you want custom size - please use-getTextureWithWidth:height:
instead.Declaration
Objective-C
- (nonnull id<ISCITexture2D>)getTexture;
Swift
func getTexture() -> ISCITexture2D
Return Value
The
ISCITexture2D
instance to apply to series.