Skip to main content

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

SignatureDescription
UIDrivingWheel()Creates a new instance of UIDrivingWheel.

Virtual Attributes

NameTypeAccessDescription
valuefloatgetVirtual attribute exposed by getValue. Access it like a field to read or write the underlying value.
anglefloatgetVirtual attribute exposed by getAngle. Access it like a field to read or write the underlying value.
lerpfloatget/setVirtual attribute exposed by getLerp. Access it like a field to read or write the underlying value.
maxAnglefloatget/setVirtual attribute exposed by getMaxAngle. Access it like a field to read or write the underlying value.
pressedbooleangetVirtual attribute exposed by isPressed. Access it like a field to read or write the underlying value.
downbooleangetVirtual attribute exposed by isDown. Access it like a field to read or write the underlying value.
upbooleangetVirtual attribute exposed by isUp. Access it like a field to read or write the underlying value.
colorColorget/setVirtual attribute exposed by getColor. Access it like a field to read or write the underlying value.
textureTextureget/setVirtual attribute exposed by getTexture. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
getValue()floatReturns the current value value.
getAngle()floatReturns the current angle value.
getLerp()floatReturns the current lerp value.
setLerp(float)voidSets lerp.
getMaxAngle()floatReturns the current maxAngle value.
setMaxAngle(float)voidSets maxAngle.
isPressed()booleanReturns whether pressed is true.
isDown()booleanReturns whether down is true.
isUp()booleanReturns whether up is true.
getColor()ColorReturns the current color value.
getTexture()TextureReturns the current texture value.
setColor(Color)voidSets color.
setTexture(Texture)voidSets texture.