v2.33
 
ICamera3D Interface Reference

Represents the camera in the main 3D view. More...

Inheritance diagram for ICamera3D:

Public Member Functions

HRESULT LookAt ([in] FloatPoint3D focusPoint_, [in] FloatPoint3D position_, [in] FloatVector3D upVector_)
 Sets up the camera position.
 

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.
 
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.