ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getCameraRenderFrameRate

Function

getCameraRenderFrameRate

ClientDrawing (dx)Trilogy Hub only

Returns the set number of shots per second (getCameraRenderInfo gives the measured one).

Syntax

float getCameraRenderFrameRate(element camera)

Arguments

cameraelement
The camera.

Returns

Shots per second.

Example

local cam = createCameraRender(256, 256, 12)
outputChatBox(getCameraRenderFrameRate(cam)) -- 12

See also