Skip to main content

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

SignatureDescription
UIController(UIController)Executes UIController and returns after the underlying engine call finishes.
UIController(Engine)Executes UIController and returns after the underlying engine call finishes.
UIController()Creates a new instance of UIController.

Attributes

NameTypeDescription
instanceUIControllerRepresents the instance value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
allowScreenTouchbooleanget/setVirtual attribute exposed by isAllowScreenTouch. Access it like a field to read or write the underlying value.
drawToScreenbooleanget/setVirtual attribute exposed by isDrawToScreen. Access it like a field to read or write the underlying value.
fixedResolutionPixelsHeightintget/setVirtual attribute exposed by getFixedResolutionPixelsHeight. Access it like a field to read or write the underlying value.
fixedResolutionPixelsWidthintget/setVirtual attribute exposed by getFixedResolutionPixelsWidth. Access it like a field to read or write the underlying value.
frameBufferFrameBuffergetVirtual attribute exposed by getFrameBuffer. Access it like a field to read or write the underlying value.
frameBufferHintgetVirtual attribute exposed by getFrameBufferH. Access it like a field to read or write the underlying value.
frameBufferWintgetVirtual attribute exposed by getFrameBufferW. Access it like a field to read or write the underlying value.
freeResolutionPixelsintget/setVirtual attribute exposed by getFreeResolutionPixels. Access it like a field to read or write the underlying value.
imageRatiofloatgetVirtual attribute exposed by getImageRatio. Access it like a field to read or write the underlying value.
pxSizefloatget/setVirtual attribute exposed by getPxSize. Access it like a field to read or write the underlying value.
renderTextureFileStringget/setVirtual attribute exposed by getRenderTextureFile. Access it like a field to read or write the underlying value.
resolutionModeResolutionModeget/setVirtual attribute exposed by getResolutionMode. Access it like a field to read or write the underlying value.
resolutionPercentagefloatget/setVirtual attribute exposed by getResolutionPercentage. Access it like a field to read or write the underlying value.
touchPosVector2getVirtual attribute exposed by getTouchPos. Access it like a field to read or write the underlying value.
virtualToucheAtTouchgetVirtual attribute exposed by getVirtualToucheAt. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
emitVirtualTouch()TouchExecutes emitVirtualTouch and returns after the underlying engine call finishes.
pxToDP(float)floatExecutes pxToDP and returns after the underlying engine call finishes.
pxToDP(int)intExecutes pxToDP and returns after the underlying engine call finishes.
releaseVirtualTouch(Touch)voidExecutes releaseVirtualTouch and returns after the underlying engine call finishes.
virtualTouchsCount()intExecutes virtualTouchsCount and returns after the underlying engine call finishes.