Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
0.8.4:viewport [2022/05/03 12:20] – external edit 127.0.0.10.8.4:viewport [2022/05/03 12:51] (current) – [Requesting FrameRate (FPS)] admin
Line 65: Line 65:
 ==== Requesting FrameRate (FPS) ==== ==== Requesting FrameRate (FPS) ====
  
-If UseFixedFrameRate is set to true, the FPS property returns the current frames per second. +  * If //UseFixedFrameRate// is set to TRUE, the FPS property returns the current frames per second. 
-If UseFixedFrameRate is set to false, the TGorillaViewport provides an estimated framerate value.+  If //UseFixedFrameRate// is set to FALSE, the TGorillaViewport provides an estimated framerate value.
  
-Simply setup a timer and request those value every 100 milliseconds.+Simply setup a timer and request this value every 100 milliseconds.
  
 <file pascal> <file pascal>
Line 78: Line 78:
  
 === Notice === === Notice ===
 +
 +If //UseFixedFrameRate// is set to FALSE the //FPS// property provides an estimated framerate.
 +
 The estimated framerate measures the time a complete render cycle needs, including all objects, render passes and the main pass itself. The estimated framerate measures the time a complete render cycle needs, including all objects, render passes and the main pass itself.
-Based on this value we compute the **possible frames per second** for the last interval. So Gorilla3D FPS value is only an orientation for you and the possible performance of your application.+Based on this value we compute the **possible frames per second** for the last interval. So it'only an orientation for you of the possible performance of your application.
  
 Animation-Framerate (TAnimation): Because skin- and skeleton animation extends basic Firemonkey TAnimation. Therefore animations are limited to 30 FPS for rendering. Animation-Framerate (TAnimation): Because skin- and skeleton animation extends basic Firemonkey TAnimation. Therefore animations are limited to 30 FPS for rendering.