DvSetActiveCamera(3D)

NAME
DvSetActiveCamera - Set the active camera for a view

SYNOPSIS
C:
void DvSetActiveCamera(view, camera)
DtObject view;
DtObject camera;

FORTRAN:
CALL DVSAC(VIEW, CAMERA)
INTEGER*4 VIEW
INTEGER*4 CAMERA

DESCRIPTION
DvSetActiveCamera sets the active camera to be used with view to camera. The active camera specifies which camera will be used to render a view. If this function is not called, the last camera defined in the studio definition group will be used as the active camera.

ERRORS
DvSetActiveCamera will fail if the view handle is invalid.

[WARNING - invalid view handle]

DvSetActiveCamera will fail if the camera handle is invalid.

[WARNING - invalid camera handle]

SEE ALSO
DvInqActiveCamera(3D)