Template:UI Node Settings

From RoboPad Wiki
Jump to navigation Jump to search

As a UI Node, the Node possesses the UI Transform and Background Colour settings. All UI Nodes draw to a region on the controller - this is an area that will be populated by the Node's display elements.

  • UI Transform: Configures the position of this Node's UI element within the controller. The Position x and y values control the position of the center of this element on the controller, from the bottom left (i.e. x and y values of 0 result in its center being in the bottom left, x and y values of 1 result in its center being in the top right). The Scale x and y values control the width and height of this Node's UI element, relative to the controller's width and height. Scaling occurs from the center of the ui element.
  • Background Colour: Configures the background colour of this Node's UI region when it is drawn to the controller.