AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::Camera类 参考

相机 更多...

Public 成员函数

void LookAt (Vector3^ eyePos, Vector3^ targetPos, Vector3^ up)
 
Matrix4ViewMatrix ()
 
Vector3Position ()
 
Vector3Direction ()
 
Vector3Up ()
 
Vector3Right ()
 
Vector3Target ()
 

详细描述

相机

虚拟的相机。

成员函数说明

Vector3 ^ AnyCAD::Platform::Camera::Direction ( )

获取相机方向。

返回
朝向。
void AnyCAD::Platform::Camera::LookAt ( Vector3 eyePos,
Vector3 targetPos,
Vector3 up 
)

设置相机的信息。

参数
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 ( )

获取视图矩阵。

返回
Matrix.

该类的文档由以下文件生成: