Skip to main content

JoyStickProps

Description:

  The virtual joystick properties.

stickType

Type: Field.

Description:

  The type of joystick. [required]

Signature:

stickType: JoyStickType

moveSize

Type: Field.

Description:

  The size of the joystick. [optional]

Signature:

moveSize: number

hatSize

Type: Field.

Description:

  The size of the hat. [optional]

Signature:

hatSize: number

fontName

Type: Field.

Description:

  The font name of the joystick. [optional]

Signature:

fontName: string

buttonSize

Type: Field.

Description:

  The stick button size of the joystick. [optional]

Signature:

buttonSize: number

inputManager

Type: Field.

Description:

  The input manager for the joystick. [required]

Signature:

inputManager: InputManager

color

Type: Field.

Description:

  The color of the joystick. [optional]

Signature:

color: number

primaryOpacity

Type: Field.

Description:

  The primary opacity of the joystick. [optional]

Signature:

primaryOpacity: number

secondaryOpacity

Type: Field.

Description:

  The secondary opacity of the joystick. [optional]

Signature:

secondaryOpacity: number

noStickButton

Type: Field.

Description:

  Whether to hide the stick button. [optional]

Signature:

noStickButton: boolean