Syntax

Result = dbMakeCamera(CameraID)

Description

If #PB_Any is used as the CameraID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the CameraID parameter.

This command will create a new camera for the 3D scene. You can position this camera anywhere in the scene and alter the output view of this camera using the dbSetCameraView command.

See Also

dbCameraExist, dbCurrentCamera, dbDeleteCamera, dbSetCurrentCamera