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
x
The x value.
y
The y value.
z
The z value.
-
Sets the stroke thickness of the current mesh.
Declaration
Objective-C
- (void)setStrokeThickness:(float)strokeThickness;
Swift
func setStrokeThickness(_ strokeThickness: Float)
Parameters
strokeThickness
The 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
entityId
The entity identifier.
xCoordinates
The x coordinates in world space.
yCoordinates
The y coordinates in world space.
zCoordinates
The z coordinates in world space.
colors
The colors as
ARGB
.pointCount
The point count.
hasTransparentColors
If set to true, then one or more vertex has semi-transparent colours. This determines whether alpha blending is used.