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

#include <UIComponents.hpp>

Public Attributes

float value = 0.5f
float minValue = 0.0f
float maxValue = 1.0f
glm::vec4 backgroundColor {0.2f, 0.2f, 0.25f, 1.0f}
glm::vec4 fillColor {0.2f, 0.6f, 0.9f, 1.0f}
glm::vec4 handleColor {0.95f, 0.95f, 0.98f, 1.0f}

Member Data Documentation

◆ backgroundColor

glm::vec4 Engine::UISliderComponent::backgroundColor {0.2f, 0.2f, 0.25f, 1.0f}

◆ fillColor

glm::vec4 Engine::UISliderComponent::fillColor {0.2f, 0.6f, 0.9f, 1.0f}

◆ handleColor

glm::vec4 Engine::UISliderComponent::handleColor {0.95f, 0.95f, 0.98f, 1.0f}

◆ maxValue

float Engine::UISliderComponent::maxValue = 1.0f

◆ minValue

float Engine::UISliderComponent::minValue = 0.0f

◆ value

float Engine::UISliderComponent::value = 0.5f

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