![]() |
v2.50
|
|
Represents the camera in the main 3D view. More...
Public Member Functions | |
| HRESULT | LookAt ([in] FloatPoint3D focusPoint_, [in] FloatPoint3D position_, [in] FloatVector3D upVector_) |
| Sets up the camera position. | |
| HRESULT | LookAtAnimated ([in] FloatPoint3D focusPoint_, [in] FloatPoint3D position_, [in] FloatVector3D upVector_) |
| Sets up the camera position. Features non-blocking camera animation. | |
| HRESULT | LookAtSelectedObjects ([in] enum CameraOrientation cameraOrientation) |
| Orients the camera to look at selected objects from a given direction. | |
| HRESULT | LookAtSelectedObjectsAnimated ([in] enum CameraOrientation cameraOrientation) |
| Orients the camera to look at selected objects from a given direction. Features non-blocking camera animation. | |
Properties | |
| FloatPoint3D | FocusPoint [get] |
| The camera focus point. | |
| double | FovHorizontal [get] |
| The angle of the horizontal field of view angle, in radians. | |
| double | FovVertical [get] |
| The angle of the vertical field of view angle, in radians. | |
| FloatPoint3D | Position [get] |
| The camera position. | |
| CameraProjection | Projection [get, set] |
| The camera projection. | |
| FloatVector3D | UpVector [get] |
| The camera up direction. | |
Represents the camera in the main 3D view.
Any camera operations make sense only in the presence of a project in the application.
| HRESULT LookAt | ( | [in] FloatPoint3D | focusPoint_, |
| [in] FloatPoint3D | position_, | ||
| [in] FloatVector3D | upVector_ ) |
Sets up the camera position.
| [in] | focusPoint_ | The focus point (those this is a point we look at). |
| [in] | position_ | The position of the camera (those this is a point we look from). |
| [in] | upVector_ | Vector indicating the up vector of the camera. Parameter is reserved and should not be used. |
| HRESULT LookAtAnimated | ( | [in] FloatPoint3D | focusPoint_, |
| [in] FloatPoint3D | position_, | ||
| [in] FloatVector3D | upVector_ ) |
Sets up the camera position. Features non-blocking camera animation.
| [in] | focusPoint_ | The focus point (those this is a point we look at). |
| [in] | position_ | The position of the camera (those this is a point we look from). |
| [in] | upVector_ | Vector indicating the up vector of the camera. Parameter is reserved and should not be used. |
| HRESULT LookAtSelectedObjects | ( | [in] enum CameraOrientation | cameraOrientation | ) |
Orients the camera to look at selected objects from a given direction.
| [in] | cameraOrientation | The camera orientation. |
| HRESULT LookAtSelectedObjectsAnimated | ( | [in] enum CameraOrientation | cameraOrientation | ) |
Orients the camera to look at selected objects from a given direction. Features non-blocking camera animation.
| [in] | cameraOrientation | The camera orientation. |