AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
相机 更多...
Public 成员函数 | |
void | LookAt (Vector3^ eyePos, Vector3^ targetPos, Vector3^ up) |
Matrix4^ | ViewMatrix () |
Vector3^ | Position () |
Vector3^ | Direction () |
Vector3^ | Up () |
Vector3^ | Right () |
Vector3^ | Target () |
相机
虚拟的相机。
Vector3 ^ AnyCAD::Platform::Camera::Direction | ( | ) |
获取相机方向。
设置相机的信息。
eyePos | 相机的位置 |
targetPos | 观察点/焦点 |
up | 相机Up的方向。 |
Vector3 ^ AnyCAD::Platform::Camera::Position | ( | ) |
获取相机的位置。
Vector3 ^ AnyCAD::Platform::Camera::Right | ( | ) |
获取相机右手向量。
Vector3 ^ AnyCAD::Platform::Camera::Target | ( | ) |
获取观察点/焦点。
Vector3 ^ AnyCAD::Platform::Camera::Up | ( | ) |
获取相机Up的方向。
Matrix4 ^ AnyCAD::Platform::Camera::ViewMatrix | ( | ) |
获取视图矩阵。