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
ISCITexture2Dinstance to apply to theSCISurfaceMeshRenderableSeries3DandSCIFreeSurfaceRenderableSeries3D, given the size passed in.Declaration
Objective-C
- (nonnull id<ISCITexture2D>)getTextureWithWidth:(int)width height:(int)height;Swift
func getTextureWithWidth(_ width: Int32, height: Int32) -> any ISCITexture2DParameters
widthThe width of texture to create.
heightThe height of texture to create.
Return Value
The
ISCITexture2Dinstance to apply to series. -
Gets the
ISCITexture2Dinstance to apply to theSCISurfaceMeshRenderableSeries3DandSCIFreeSurfaceRenderableSeries3D.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() -> any ISCITexture2DReturn Value
The
ISCITexture2Dinstance to apply to series.
View on GitHub