Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RectTransform

Add this in your code:

#include <engine/game_elements/rect_transform.h>

Description

Component that represents a transform for UI elements.

Variables


NameTypeDescription
positionVector2Position of the UI elements between 0 and 1 (Normalized position)