NChartRealityKitLayouterRiskWall Class Reference
Inherits from | NChartRealityKitLayouter : NSObject |
---|---|
Declared in | NChartRealityKitLayouterRiskWall.h |
Overview
The NChartRealityKitLayouterRiskWall class provides methods to arrange the charts on the RealityKit-based scene as a big bended monitor called a “risk wall”. The charts are placed next to each other around the viewer from left to right forming kind of a dashboard.
+ flat
Create a risk wall with flat monitors. This preset sets resolution to 1.
+ (NChartRealityKitLayouter *)flat
Return Value
new risk wall layouer with flat monitors.
Declared In
NChartRealityKitLayouterRiskWall.h
+ curved
Create a risk wall with curved monitors. This preset sets resolution to 64.
+ (NChartRealityKitLayouter *)curved
Return Value
new risk wall layouter with curved monitors.
Declared In
NChartRealityKitLayouterRiskWall.h
depth
Depth of the risk wall in RealityKit scene units (which are precieved by the viewer close to meters). Depth is the distance from the edge of the risk wall to its farthest point. The default value is 0, which means, the optimal depth should be calculated automatically to make the risk wall close to half-circle.
@property (nonatomic, assign) CGFloat depth
Declared In
NChartRealityKitLayouterRiskWall.h
resolution
Resultion of each monitor in the risk wall. The default value is determined by the preset you use. The more is the resolution, the smoother the monitors are bended. The minimal possible value is 1 (zero is clamped to 1). The maximal allowed value is potentially not limited, but please keep in mind that too high resolution (larger than 64) may result in processing slowdown or even in graphical artifacts. Normally, you din’t have to modify this property and just use the given presets.
@property (nonatomic, assign) NSUInteger resolution
Declared In
NChartRealityKitLayouterRiskWall.h