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() | Creates a new instance of UIJoystick. |
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 | Returns the current value value. |
getBackgroundColor() | Color | Returns the current backgroundColor value. |
getBackgroundTexture() | Texture | Returns the current backgroundTexture value. |
getHandleSizePercentage() | float | Returns the current handleSizePercentage value. |
getHandlerColor() | Color | Returns the current handlerColor value. |
getHandlerTexture() | Texture | Returns the current handlerTexture value. |
setBackgroundColor(Color) | void | Sets backgroundColor. |
setBackgroundTexture(Texture) | void | Sets backgroundTexture. |
setHandleSizePercentage(float) | void | Sets handleSizePercentage. |
setHandlerColor(Color) | void | Sets handlerColor. |
setHandlerTexture(Texture) | void | Sets handlerTexture. |