UIJoystick
Complete API reference for UIJoystick, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: UI
Component: yes
public class UIJoystick extends Component
Constructors
| Signature | Description |
|---|---|
UIJoystick(UIJoystick) | Executes UIJoystick and returns after the underlying engine call finishes. |
UIJoystick(Engine) | Executes UIJoystick and returns after the underlying engine call finishes. |
UIJoystick() | Creates a new instance of UIJoystick. |
Attributes
| Name | Type | Description |
|---|---|---|
instance | UIJoystick | Represents the instance value stored on this instance. Read or assign to update the property. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
backgroundColor | Color | get/set | Virtual attribute exposed by getBackgroundColor. Access it like a field to read or write the underlying value. |
backgroundTexture | Texture | get/set | Virtual attribute exposed by getBackgroundTexture. Access it like a field to read or write the underlying value. |
handleSizePercentage | float | get/set | Virtual attribute exposed by getHandleSizePercentage. Access it like a field to read or write the underlying value. |
handlerColor | Color | get/set | Virtual attribute exposed by getHandlerColor. Access it like a field to read or write the underlying value. |
handlerTexture | Texture | get/set | Virtual attribute exposed by getHandlerTexture. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
getValue() | Vector2 | Executes getValue and returns after the underlying engine call finishes. |