Free Look Modifier 3D
If you want to add simple movement of the camera (imagine free-look in a computer game) then you can do so using our Chart Modifier 3D API. The FreeLookModifier3D performs Camera3D movement in the Left/Right/Up/Down direction giving the appearance of moving through the 3D World
Besides common features which are inherited from the ChartModifierBase3D class, the FreeLookModifier3D also allows you to control movement sensitivity via the setDegreesPerPixelSensitivity(float degreesPerPixelSensitivity) property.
Adding a FreeLookModifier3D to a Chart
Any Chart Modifier 3D can be added to a SciChartSurface3D via the chartModifiers property and FreeLookModifier3D is no difference:
// Assume a surface has been created and configured somewhere
// Create a Modifier
final FreeLookModifier3D freeLookModifier3D = new FreeLookModifier3D();
freeLookModifier3D.setExecuteOnPointerCount(2);
freeLookModifier3D.setDegreesPerPixelSensitivity(0.4f);
// Add the modifier to the surface
surface.getChartModifiers().add(freeLookModifier3D);
Note
To learn more about features available, please visit the Chart Modifier 3D APIs article.