GLOBAL_PROPERTIES Class
Global properties of the framework
Item Index
Methods
Methods
Properties
Current version of the browser. The framework check the browser at the start and fill this property.
Default: cgsgExplorerParams.UNKNOWN
Number of frames to average the FPS. Reduce this number to get more accurate FPS
Default: CGSG_DEFAULT_FRAMERATE_DELAY
The global ghost context for fake rendering
Maximum number of frames per second. Set it if you want your application to slow down.
Default: CGSG_DEFAULT_MAX_FRAMERATE
//limit the fps of the application to 30
cgsgMaxFramerate = 30;
Object that defines the performance keys. Change values to adapt your project.
cgsgPerformanceKeys._collisionMethod = Key to specify collision detection mod Use setCollisionMethod to modify value; Default : CGSGCollisionMethod.REGION
cgsgPerformanceKeys.collisionTester = Collision tester depending on _collisionMethod; Default : CGSGCollisionRegionTester
Default threshold to detect the handle boxes on a resizable node