iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCILinesMesh
@protocol ISCILinesMesh <ISCIMeshBase>
Defines the interface to a LinesMesh, a re-usable 3D model consisting of lines which may be dynamically created, frozen, and repeatedly drawn.
-
Sets the
[X, Y, Z]values of the current vertex.Declaration
Objective-C
- (void)setVertex3X:(float)x Y:(float)y Z:(float)z;Swift
func setVertex3X(_ x: Float, y: Float, z: Float)Parameters
xThe x value.
yThe y value.
zThe z value.
-
Sets the stroke thickness of the current mesh.
Declaration
Objective-C
- (void)setStrokeThickness:(float)strokeThickness;Swift
func setStrokeThickness(_ strokeThickness: Float)Parameters
strokeThicknessThe stroke thickness value.
-
Sets the data on the Lines Mesh, which causes the mesh to calculate line vertices.
Declaration
Objective-C
- (void)setData:(unsigned int)entityId X:(nonnull float *)xCoordinates Y:(nonnull float *)yCoordinates Z:(nonnull float *)zCoordinates colors:(nonnull unsigned int *)colors pointCount:(int)pointCount hasTransparentColors:(BOOL)hasTransparentColors;Swift
func setData(_ entityId: UInt32, x xCoordinates: UnsafeMutablePointer<Float>, y yCoordinates: UnsafeMutablePointer<Float>, z zCoordinates: UnsafeMutablePointer<Float>, colors: UnsafeMutablePointer<UInt32>, pointCount: Int32, hasTransparentColors: Bool)Parameters
entityIdThe entity identifier.
xCoordinatesThe x coordinates in world space.
yCoordinatesThe y coordinates in world space.
zCoordinatesThe z coordinates in world space.
colorsThe colors as
ARGB.pointCountThe point count.
hasTransparentColorsIf set to true, then one or more vertex has semi-transparent colours. This determines whether alpha blending is used.
View on GitHub