cubos::engine::UICanvas struct

Component which represents a target for UI rendering.

Public variables

glm::vec2 referenceSize
Size to be used as reference for the elements below this canvas.
glm::vec2 virtualSize
Internal size of the canvas, with scalling applied.
glm::mat4 mat
View matrix provided of the canvas.