Template:UI Node Settings: Difference between revisions
Jump to navigation
Jump to search
m (Blayze moved page Template:UI Node Settigs to Template:UI Node Settings without leaving a redirect: Fixes typo) |
(Adds UItf description) |
||
Line 1: | Line 1: | ||
As a UI Node, the {{{node|}}} Node possesses the 'UI Transform' and 'Background Colour' settings. | As a UI Node, the {{{node|}}} Node possesses the ''UI Transform'' and ''Background Colour'' settings. | ||
* '''UI Transform:''' | * '''UI Transform:''' Configures the position of this {{{node|}}} Node's UI element within the [The Controller|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|}}} Node's UI element, relative to the controller's width and height. Scaling occurs from the center of the {{{node|ui element}}}. | ||
* '''Background Colour:''' Configures the background colour of this {{{node|}}} Node | * '''Background Colour:''' Configures the background colour of this {{{node|}}} Node's UI element when it is drawn to the [The Controller|controller]]. |
Revision as of 21:56, 28 February 2023
As a UI Node, the Node possesses the UI Transform and Background Colour settings.
- UI Transform: Configures the position of this Node's UI element within the [The Controller|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 element when it is drawn to the [The Controller|controller]].