| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | getDensity()
Implements com. This is a scaling factor for the Density Independent Pixel unit, following the same conventions as android.util.DisplayMetrics#density, where one DIP is one pixel on an approximately 160 dpi screen. |
| public float |
| AbstractGraphics | back to summary |
|---|---|
| public AbstractGraphics() | |
| getBackBufferScale | back to summary |
|---|---|
| public float getBackBufferScale() Implements com.
| |
| getDensity | back to summary |
|---|---|
| public float getDensity() Implements com. Doc from com. This is a scaling factor for the Density Independent Pixel unit, following the same conventions as android.util.DisplayMetrics#density, where one DIP is one pixel on an approximately 160 dpi screen. Thus on a 160dpi screen this density value will be 1; on a 120 dpi screen it would be .75; etc. If the density could not be determined, this returns a default value of 1. Depending on the underlying platform implementation this might be a relatively expensive operation. Therefore it should not be called continously on each frame.
| |
| getRawDeltaTime | back to summary |
|---|---|
| public float getRawDeltaTime() Implements com.
| |