The properties of the TAgkApplication class are listed here.
|
Name |
Description |
![]() |
The device orientations the AGK will allow the app to rotate to. Defaults to all orientations. | |
![]() |
Sets how the screen transitions from a landscape to a portrait orientation and vice versa. This is only applicable when orientation changes are supported. To specify orientations use the AllowedDeviceOrientations property. | |
![]() ![]() |
The currently running scene. | |
![]() ![]() |
Sets the default filter for textures when the texture is larger than the screen space it is displayed in. | |
![]() ![]() |
Sets the default filter for textures when the texture is smaller than the screen space it is displayed in. | |
![]() |
This property is used in conjunction with the default percentage based positioning system in AGK. If using this approach you will need to specify a display aspect using this property, so that AGK knows how to correctly display entities on screen. | |
![]() |
Desired height of the screen or application window. Mostly applicable to window based platforms (since screen size is usually fixed for full-screen application running on mobile devices). | |
![]() |
Desired width of the screen or application window. Mostly applicable to window based platforms (since screen size is usually fixed for full-screen application running on mobile devices). | |
![]() |
Sets whether sprites at the same depth should be sorted by creation order. | |
![]() |
Sets whether the AGK should sort opaque sprites by depth when drawing. This draws sprites at the front of the screen first, which fills the depth buffer so later sprites behind can be skipped. This will improve performance on fill rate limited devices where you are drawing lots of overlapping opaque sprites. | |
![]() |
Sets whether the AGK should sort sprites by texture when drawing to limit the number of texture changes. This will improve performance on devices that do not cope well with frequent state changes, but may reduce performance if textures on sprites are changed frequently. | |
![]() |
Sets whether the AGK should sort transparent sprites by depth when drawing. This draws sprites at the back of the screen first to achieve the correct blending result when transparent sprites overlap. | |
![]() |
The tile (caption) of the application window. Mostly applicable to window based platforms. | |
![]() |
Whether to use the native (high) resolution of the device, or a scale (low) resolution. | |
![]() ![]() |
Returns the coordinate for bottom of the screen. | |
![]() ![]() |
Returns the coordinate for the far right side of the screen. | |
![]() ![]() |
Sets whether vertical sync should be turned on or off. This is not supported on all devices. | |
![]() ![]() |
Internal handle to the main application window. |
Copyright (c) 2012. All rights reserved.
|