UIDrivingWheel
Complete API reference for UIDrivingWheel, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: UI
Component: yes
public class UIDrivingWheel extends Component
Constructors
| Signature | Description |
|---|---|
UIDrivingWheel() | Creates a new instance of UIDrivingWheel. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
value | float | get | Virtual attribute exposed by getValue. Access it like a field to read or write the underlying value. |
angle | float | get | Virtual attribute exposed by getAngle. Access it like a field to read or write the underlying value. |
lerp | float | get/set | Virtual attribute exposed by getLerp. Access it like a field to read or write the underlying value. |
maxAngle | float | get/set | Virtual attribute exposed by getMaxAngle. Access it like a field to read or write the underlying value. |
pressed | boolean | get | Virtual attribute exposed by isPressed. Access it like a field to read or write the underlying value. |
down | boolean | get | Virtual attribute exposed by isDown. Access it like a field to read or write the underlying value. |
up | boolean | get | Virtual attribute exposed by isUp. Access it like a field to read or write the underlying value. |
color | Color | get/set | Virtual attribute exposed by getColor. Access it like a field to read or write the underlying value. |
texture | Texture | get/set | Virtual attribute exposed by getTexture. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
getValue() | float | Returns the current value value. |
getAngle() | float | Returns the current angle value. |
getLerp() | float | Returns the current lerp value. |
setLerp(float) | void | Sets lerp. |
getMaxAngle() | float | Returns the current maxAngle value. |
setMaxAngle(float) | void | Sets maxAngle. |
isPressed() | boolean | Returns whether pressed is true. |
isDown() | boolean | Returns whether down is true. |
isUp() | boolean | Returns whether up is true. |
getColor() | Color | Returns the current color value. |
getTexture() | Texture | Returns the current texture value. |
setColor(Color) | void | Sets color. |
setTexture(Texture) | void | Sets texture. |