AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkScene Properties

The properties of the TAgkScene class are listed here.

 
Name 
Description 
 
The application that is running this scene. 
 
Whether the scene will automatically be freed when the application starts a new scene. Defaults to True. 
 
Sets whether the frame buffer should be cleared every frame. 
 
Get the time in seconds spent processing and rendering the last frame. 
 
Get the number of milliseconds since the app was started. 
 
Returns an average frames per second based on the rendering time of the last few frames. To get the exact time spent on the last frame you can use FrameTime
 
Get the number of whole seconds since the app was started. Accurate to 1 second. 
 
Gets the current view offset, set using SetViewOffset
 
Gets the current view offset in the X direction, set using SetViewOffset
 
Gets the current view offset in the Y direction, set using SetViewOffset
 
Zooms the screen viewport relative to the world. For example a view zoom of 2.0 will double the size of anything currently in view. A value of 1.0 returns everything to normal size. 
 
Sets the zoom mode from top left corner (False) or centered (True). 
Copyright (c) 2012. All rights reserved.