UIDynamicJoystick
Complete API reference for UIDynamicJoystick, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: UI
Component: yes
public class UIDynamicJoystick extends Component
Constructors
| Signature | Description |
|---|---|
UIDynamicJoystick() | Creates a new instance of UIDynamicJoystick. |
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. |
handleSize | int | get/set | Virtual attribute exposed by getHandleSize. 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. |
size | int | get/set | Virtual attribute exposed by getSize. 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. |
getHandleSize() | int | Returns the current handleSize value. |
getHandlerColor() | Color | Returns the current handlerColor value. |
getHandlerTexture() | Texture | Returns the current handlerTexture value. |
getSize() | int | Returns the current size value. |
setBackgroundColor(Color) | void | Sets backgroundColor. |
setBackgroundTexture(Texture) | void | Sets backgroundTexture. |
setHandleSize(int) | void | Sets handleSize. |
setHandlerColor(Color) | void | Sets handlerColor. |
setHandlerTexture(Texture) | void | Sets handlerTexture. |
setSize(int) | void | Sets size. |