Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VirtualJoystickCustomizations

Represents the different customization options available for VirtualJoystick

Hierarchy

  • VirtualJoystickCustomizations

Index

Properties

alwaysVisibleSearch playground for alwaysVisible

alwaysVisible: boolean

Defines whether or not the joystick container is always visible

colorSearch playground for color

color: string

Color of the joystick && puck

Optional containerImageSearch playground for containerImage

containerImage: string

Image URL for the joystick's container

containerSizeSearch playground for containerSize

containerSize: number

Size of the joystick's container

limitToContainerSearch playground for limitToContainer

limitToContainer: boolean

Defines whether or not to limit the movement of the puck to the joystick's container

Optional positionSearch playground for position

position: { x: number; y: number }

Defines the unmoving position of the joystick container

Type declaration

  • x: number
  • y: number

Optional puckImageSearch playground for puckImage

puckImage: string

Image URL for the joystick's puck

puckSizeSearch playground for puckSize

puckSize: number

Size of the joystick's puck

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method