v2.50
ICamera3D Interface Reference

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.

Detailed Description

Represents the camera in the main 3D view.

Any camera operations make sense only in the presence of a project in the application.

Member Function Documentation

◆ LookAt()

HRESULT LookAt ( [in] FloatPoint3D focusPoint_,
[in] FloatPoint3D position_,
[in] FloatVector3D upVector_ )

Sets up the camera position.

Parameters
[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.
See also
LookAtAnimated

◆ LookAtAnimated()

HRESULT LookAtAnimated ( [in] FloatPoint3D focusPoint_,
[in] FloatPoint3D position_,
[in] FloatVector3D upVector_ )

Sets up the camera position. Features non-blocking camera animation.

Parameters
[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.
See also
LookAt

◆ LookAtSelectedObjects()

HRESULT LookAtSelectedObjects ( [in] enum CameraOrientation cameraOrientation)

Orients the camera to look at selected objects from a given direction.

Parameters
[in]cameraOrientationThe camera orientation.
Note
It'll look at allowed selected objects if there are any, and fallback to looking at the whole scene otherwise.
See also
LookAtSelectedObjectsAnimated

◆ LookAtSelectedObjectsAnimated()

HRESULT LookAtSelectedObjectsAnimated ( [in] enum CameraOrientation cameraOrientation)

Orients the camera to look at selected objects from a given direction. Features non-blocking camera animation.

Parameters
[in]cameraOrientationThe camera orientation.
Note
It'll look at allowed selected objects if there are any, and fallback to looking at the whole scene otherwise.
See also
LookAtSelectedObjects