|
|
| Camera (global::System.IntPtr cPtr, bool cMemoryOwn) |
| | 仅供内部使用
|
| |
|
void | Dispose () |
| |
|
| Camera () |
| | 默认构造函数
|
| |
| | Camera (uint width, uint height, Vector3d position, Vector3d target, Vector3d up) |
| | 构造函数
|
| |
|
Vector3d | GetPosition () |
| |
|
void | SetPosition (Vector3d val) |
| |
|
Vector3 | GetPositionf () |
| |
|
Vector3d | GetUp () |
| |
|
void | SetUp (Vector3d val) |
| |
|
Vector3 | GetUpf () |
| |
|
Vector3d | GetTarget () |
| |
|
void | SetTarget (Vector3d val) |
| |
|
Vector3 | GetTargetf () |
| |
|
Vector2d | GetPageOffset () |
| |
|
void | SetPageOffset (Vector2d val) |
| |
|
Vector2 | GetPageOffsetf () |
| |
|
Matrix4d | GetViewMatrix () |
| |
|
Matrix4 | GetViewMatrixf () |
| |
|
double | GetNear () |
| |
|
void | SetNear (double val) |
| |
|
double | GetFar () |
| |
|
void | SetFar (double val) |
| |
|
double | GetFovy () |
| |
|
void | SetFovy (double val) |
| |
|
ViewPosition | GetOrigin () |
| |
|
void | SetOrigin (ViewPosition val) |
| |
|
ViewPosition | GetSize () |
| |
|
void | SetSize (ViewPosition val) |
| |
|
uint | GetWidth () |
| |
|
void | SetWidth (uint val) |
| |
|
uint | GetHeight () |
| |
|
void | SetHeight (uint val) |
| |
|
double | GetOrthoZoomFactor () |
| |
| float | GetOrthoZoomFactorf () |
| | 获取正交缩放因子(float类型)
|
| |
|
EnumProjectionType | GetProjectionType () |
| |
|
void | SetProjectionType (EnumProjectionType val) |
| |
|
Matrix4d | GetProjectionMatrix () |
| |
|
Matrix4 | GetProjectionMatrixf () |
| |
|
bool | GetLockNearFar () |
| |
|
void | SetLockNearFar (bool val) |
| |
| Vector3d | GetDirection () |
| | 获取相机朝向,单位向量
|
| |
| Vector3 | GetDirectionf () |
| | 获取相机朝向,单位向量(float类型)
|
| |
| Vector3d | GetRight () |
| | 获取相机坐标系右方向
|
| |
| Vector3 | GetRightf () |
| | 获取相机坐标系右方向(float类型)
|
| |
| double | GetDistance () |
| | 获取相机位置距离观察位置的距离
|
| |
| float | GetDistancef () |
| | 获取相机位置距离观察位置的距离(float类型)
|
| |
| void | LookAt (Vector3d position, Vector3d target, Vector3d up) |
| | 设置相机姿态
|
| |
| void | LookByDirection (Vector3d target, Vector3d dir, Vector3d up) |
| | 设置相机姿态
|
| |
| void | UpdateNearFar (AABox sceneBox) |
| | 根据包围盒设置远近距离
|
| |
| Vector2d | GetViewportSize () |
| | 获取视口大小
|
| |
| Vector2d | GetViewportOrigin () |
| | 获取视口起始位置
|
| |
| Vector4d | GetViewport () |
| | 获取视口
|
| |
| Vector2d | GetViewportCenter () |
| | 获取视口中心位置
|
| |
| void | Resize (uint width, uint height) |
| | 设置视口大小
|
| |
| void | SetOrthoZoomFactor (double zoomFactor) |
| | 设置正交缩放系数
|
| |
| void | Zoom (double ratio, double distance) |
| | 按照比例设置缩放系数
|
| |
| void | SetZoomFactorRange (double minV, double maxV) |
| | 设置缩放系统范围
|
| |
|
void | ClearZoomFactorRange () |
| | 清除缩放限制
|
| |
| Matrix4d | ComputeOrthoMatrix (double zoomFactor) |
| | 根据缩放系数计算正交投影矩阵
|
| |
| bool | Contain (uint winX, uint winY) |
| | 测试指定屏幕坐标点是否在相机视角范围
|
| |
|
void | UpdateViewMatrix () |
| | 更新视图矩阵
|
| |
|
void | UpdateProjectionMatrix () |
| | 更新投影矩阵
|
| |
|
void | Dump () |
| | 输出相机信息
|
| |