Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
Engine::UIGridLayoutGroupComponent Struct Reference

#include <UIComponents.hpp>

Public Attributes

glm::vec2 cellSize {100.0f, 100.0f}
glm::vec2 spacing {10.0f, 10.0f}
glm::vec4 padding {5.0f, 5.0f, 5.0f, 5.0f}
GridConstraint constraint = GridConstraint::FixedColumnCount
int constraintCount = 3

Member Data Documentation

◆ cellSize

glm::vec2 Engine::UIGridLayoutGroupComponent::cellSize {100.0f, 100.0f}

◆ constraint

GridConstraint Engine::UIGridLayoutGroupComponent::constraint = GridConstraint::FixedColumnCount

◆ constraintCount

int Engine::UIGridLayoutGroupComponent::constraintCount = 3

◆ padding

glm::vec4 Engine::UIGridLayoutGroupComponent::padding {5.0f, 5.0f, 5.0f, 5.0f}

◆ spacing

glm::vec2 Engine::UIGridLayoutGroupComponent::spacing {10.0f, 10.0f}

The documentation for this struct was generated from the following file: