CameraProjection()

Syntax

CameraProjection(#Camera, Mode)
Description
Change the #Camera projection mode.

Parameters

#Camera - The number of the camera you want to change the projection mode of. This is the value which you used when you created the camera using CreateCamera()

Mode - the value representing the way in which the world should be projected. This should be one of the following values:
  #PB_Camera_Perspective : Renders the whole scene with perspective
  #PB_Camera_Orthographic: Renders the whole scene in Orthographic mode (no 3D depth)

Return value

This command does not return any value.

Supported OS

Windows, Linux

<- CameraLookAt() - Camera Index - CameraRange() ->