iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCIMeshBase

@protocol ISCIMeshBase <ISCIImediateDrawContext>

Defines the interface to a Mesh, a re-usable 3D model which may be dynamically created, frozen, and repeatedly drawn.

  • Freezes this instance. No further drawing may be done.

    Declaration

    Objective-C

    - (void)freeze;

    Swift

    func freeze()
  • Draws this instance.

    Declaration

    Objective-C

    - (void)draw;

    Swift

    func draw()
  • Sets the [X, Y, Z, W] values of the current vertex.

    Declaration

    Objective-C

    - (void)setVertext4X:(float)x Y:(float)y Z:(float)z W:(float)w;

    Swift

    func setVertext4X(_ x: Float, y: Float, z: Float, w: Float)

    Parameters

    x

    The x value.

    y

    The y value.

    z

    The z value.

    w

    The z value.

  • Sets the opacity for the current vertex.

    Declaration

    Objective-C

    - (void)setOpacity:(float)opacity;

    Swift

    func setOpacity(_ opacity: Float)

    Parameters

    opacity

    The opacity.