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::UIScrollRectComponent Struct Reference

#include <UIComponents.hpp>

Public Attributes

bool horizontal = false
bool vertical = true
glm::vec2 scrollPosition {0.0f, 0.0f}
float scrollSpeed = 25.0f

Member Data Documentation

◆ horizontal

bool Engine::UIScrollRectComponent::horizontal = false

◆ scrollPosition

glm::vec2 Engine::UIScrollRectComponent::scrollPosition {0.0f, 0.0f}

◆ scrollSpeed

float Engine::UIScrollRectComponent::scrollSpeed = 25.0f

◆ vertical

bool Engine::UIScrollRectComponent::vertical = true

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