Skip to main content

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

SignatureDescription
UIDynamicJoystick()Creates a new instance of UIDynamicJoystick.

Virtual Attributes

NameTypeAccessDescription
backgroundColorColorget/setVirtual attribute exposed by getBackgroundColor. Access it like a field to read or write the underlying value.
backgroundTextureTextureget/setVirtual attribute exposed by getBackgroundTexture. Access it like a field to read or write the underlying value.
handleSizeintget/setVirtual attribute exposed by getHandleSize. Access it like a field to read or write the underlying value.
handlerColorColorget/setVirtual attribute exposed by getHandlerColor. Access it like a field to read or write the underlying value.
handlerTextureTextureget/setVirtual attribute exposed by getHandlerTexture. Access it like a field to read or write the underlying value.
sizeintget/setVirtual attribute exposed by getSize. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
getValue()Vector2Returns the current value value.
getBackgroundColor()ColorReturns the current backgroundColor value.
getBackgroundTexture()TextureReturns the current backgroundTexture value.
getHandleSize()intReturns the current handleSize value.
getHandlerColor()ColorReturns the current handlerColor value.
getHandlerTexture()TextureReturns the current handlerTexture value.
getSize()intReturns the current size value.
setBackgroundColor(Color)voidSets backgroundColor.
setBackgroundTexture(Texture)voidSets backgroundTexture.
setHandleSize(int)voidSets handleSize.
setHandlerColor(Color)voidSets handlerColor.
setHandlerTexture(Texture)voidSets handlerTexture.
setSize(int)voidSets size.