UIController
Complete API reference for UIController, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: UI
Component: yes
public class UIController extends Component
Constructors
| Signature | Description |
|---|---|
UIController() | Creates a new instance of UIController. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
allowScreenTouch | boolean | get/set | Virtual attribute exposed by isAllowScreenTouch. Access it like a field to read or write the underlying value. |
drawToScreen | boolean | get/set | Virtual attribute exposed by isDrawToScreen. Access it like a field to read or write the underlying value. |
fixedResolutionPixelsHeight | int | get/set | Virtual attribute exposed by getFixedResolutionPixelsHeight. Access it like a field to read or write the underlying value. |
fixedResolutionPixelsWidth | int | get/set | Virtual attribute exposed by getFixedResolutionPixelsWidth. Access it like a field to read or write the underlying value. |
frameBuffer | FrameBuffer | get | Virtual attribute exposed by getFrameBuffer. Access it like a field to read or write the underlying value. |
frameBufferH | int | get | Virtual attribute exposed by getFrameBufferH. Access it like a field to read or write the underlying value. |
frameBufferW | int | get | Virtual attribute exposed by getFrameBufferW. Access it like a field to read or write the underlying value. |
freeResolutionPixels | int | get/set | Virtual attribute exposed by getFreeResolutionPixels. Access it like a field to read or write the underlying value. |
imageRatio | float | get | Virtual attribute exposed by getImageRatio. Access it like a field to read or write the underlying value. |
pxSize | float | get/set | Virtual attribute exposed by getPxSize. Access it like a field to read or write the underlying value. |
renderTextureFile | String | get/set | Virtual attribute exposed by getRenderTextureFile. Access it like a field to read or write the underlying value. |
resolutionMode | ResolutionMode | get/set | Virtual attribute exposed by getResolutionMode. Access it like a field to read or write the underlying value. |
resolutionPercentage | float | get/set | Virtual attribute exposed by getResolutionPercentage. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
emitVirtualTouch() | Touch | Returns the result of emitVirtualTouch. |
getFixedResolutionPixelsHeight() | int | Returns the current fixedResolutionPixelsHeight value. |
getFixedResolutionPixelsWidth() | int | Returns the current fixedResolutionPixelsWidth value. |
getFrameBuffer() | FrameBuffer | Returns the current frameBuffer value. |
getFrameBufferH() | int | Returns the current frameBufferH value. |
getFrameBufferW() | int | Returns the current frameBufferW value. |
getFreeResolutionPixels() | int | Returns the current freeResolutionPixels value. |
getImageRatio() | float | Returns the current imageRatio value. |
getPxSize() | float | Returns the current pxSize value. |
getRenderTextureFile() | String | Returns the current renderTextureFile value. |
getResolutionMode() | ResolutionMode | Returns the current resolutionMode value. |
getResolutionPercentage() | float | Returns the current resolutionPercentage value. |
getTouchPos(Touch) | Vector2 | Returns the current touchPos value. |
getVirtualToucheAt(int) | Touch | Returns the current virtualToucheAt value. |
isAllowScreenTouch() | boolean | Returns whether allowScreenTouch is true. |
isDrawToScreen() | boolean | Returns whether drawToScreen is true. |
pxToDP(float) | float | Returns the result of pxToDP. |
pxToDP(int) | int | Returns the result of pxToDP. |
releaseVirtualTouch(Touch) | void | Executes releaseVirtualTouch. |
setAllowScreenTouch(boolean) | void | Sets allowScreenTouch. |
setDrawToScreen(boolean) | void | Sets drawToScreen. |
setFixedResolutionPixelsHeight(int) | void | Sets fixedResolutionPixelsHeight. |
setFixedResolutionPixelsWidth(int) | void | Sets fixedResolutionPixelsWidth. |
setFreeResolutionPixels(int) | void | Sets freeResolutionPixels. |
setPxSize(float) | void | Sets pxSize. |
setRenderTextureFile(String) | void | Sets renderTextureFile. |
setResolutionMode(ResolutionMode) | void | Sets resolutionMode. |
setResolutionPercentage(float) | void | Sets resolutionPercentage. |
virtualTouchsCount() | int | Returns the result of virtualTouchsCount. |