CameraRenderMode()

Syntax

CameraRenderMode(#Camera, RenderMode)
Description
Changes the mode in which the world is displayed through a camera. When you create a new camera, using the CreateCamera() command, the default render mode is to display the world with full detail and textures.

Parameters

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

RenderMode - the value representing the way in which the world should be rendered. This should be one of the following values:
  #PB_Camera_Plot     : Renders the whole scene by showing only the vertices (plots)
  #PB_Camera_Wireframe: Renders the whole scene by showing only the triangles (lines)
  #PB_Camera_Textured : Renders the whole scene at full detail, with textures.

Return value

This command does not return any value.

Supported OS

Windows, Linux

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