NChartRealityKit Class Reference

Inherits from NSObject
Declared in NChartRealityKit.h

Overview

The NChartRealityKit class provides a bridge for NChart3D to visionOS RealityKit.

  chart

Get chart instance. It is created with the view’s creation and destroyed with its destruction.

@property (nonatomic, readonly) NChart *chart

See Also

Declared In

NChartRealityKit.h

  delegate

Delegate that is supposed to handle the chart models.

@property (nonatomic, assign) id<NChartRealityKitModelDelegate> delegate

Declared In

NChartRealityKit.h

– render

Render the chart using the RealityKit backend. The set of models is created and for each one, modelReadyWithPositions delegate method is triggered.

- (void)render

Declared In

NChartRealityKit.h