Enum OrientationModes
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Camera orientation / rotation interpretation types, giving meaning for RotationX, RotationY and RotationZ settings and their calculation order, thus affecting camera position and orientation. See remarks for generic information on camera placement and orientation. See different enumeration values and OrientationMode property for more information on available options, their usage and effects.
public enum OrientationModes
Fields
XYZ_Mixed = 0XYZ Mixed mode orientation interpretation.
Camera position is defined as X-Y extrinsic rotation and camera up direction by world Z-axis rotation.
This was the only available angle property interpretation used in LC up to version 8.3.
This interpretation has some problematic features and will be deprecated in the future. It's highly suggested to move using ZXY_Extrinsic interpretation. See Remarks for more information
ZXY_Extrinsic = 1
Remarks
Camera positioning / orientation
Camera orientation and position is controlled by multiple different properties.
| Target | Defines the location in world coordinates the camera looks at. This location will be at the center of the rendered image. |
| ViewDistance | Distance of the camera from the Target in world coordinates.
Rotation(XYZ) properties define the orientation of the camera. After this the camera is placed so that the Target is in the center of the view, at ViewDistance away of it. User device based rotationsWhen user rotates camera using mouse or some other pointer device the orientation changes differently on different orientation modes. Especially horizontal rotation is done around a separate axis, that changes differently on different orientation modes. See different modes for detailed explanation on the rotation differences.
|