Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
TD_HOOPS_COMMON_EXPORT::HoopsSetCamera Function
Syntax
C++
void HoopsSetCamera(OdGePoint3d ptCameraPos, OdGePoint3d ptCameraTarget, OdGeVector3d vrCameraUp, double dCameraWidth, double dCameraHeight, bool bPerspective, bool bStereoView, double dStereoDist, double dStereoAngle);

Sets parameters of a camera for the hoops engine. 

 

Parameters
Description
ptCameraPos
[in] A three-dimensional point that determines the camera position.
ptCameraTarget
[in] A three-dimensional point that determines the camera target. [in] A three-dimensional vector that determines moving of the camera's vertical.
dCameraWidth
[in] Width of the camera.
dCameraHeight
[in] Height of the camera.
bPerspective
[in] A flag value that determines whether the camera is in perspective (if true) or in parallel (if false) mode.
bStereoView
[in] A flag value that determines whether the camera is in stereo mode. If this flag is equal to true, the camera is in stereo mode.
dStereoDist
[in] A distance value for stereo mode. Currently this parameter is not used.
dStereoAngle
[in] An angle value for stereo mode. Currently this parameter is not used.

File: HoopsCommon.h 

Namespace: TD_HOOPS_COMMON_EXPORT 

Module: API Reference 

Copyright © 2002-2022. Open Design Alliance All rights reserved.