摄像头(3D系列)
图:Camera 属性
摄像头类型、位置、距离和朝向一起决定了3D的视角。用 RotationX, RotationY, RotationZ 和ViewDistance 可设置摄像头在3D模型空间中的位置。通过设置Target属性,可以将摄像头对准优先选定的方向。
用Projection属性可选择投影类型。
• Perspective,显示一个具有真实感的投影。
• Orthographic, 此为在科学和工程应用中使用的投影类型。比起OrthographicLegacy更推荐用此选择。
• OrthographicLegacy,(相当于在LightningChart v.8.3或更早的版本中设置OrthoGraphicCamera = True)。相比Orthographic而言,这在缩放后渲染更慢 。它维护三维对象的大小,这在如果3D对象是在3D全局坐标(不是轴值)中定义的情况下,可维持3D对象的大小。而且,墙的厚度在缩放时会保持不变。缩放会改变维度尺寸,但不会影响ViewDistance.
RotationX, RotationY and RotationY can be limited by setting boundaries 通过 RotationXMinimum, RotationXMaximum、RotationYMinimum、RotationYMaximum、RotationZMinimum 和 RotationZMaximum 属性来设置边界可限制RotationX、RotationY 和 RotationY。<