18#include "AUI/Render/IRenderer.h"
34 offset(offset), size(size) {}
53 void applyFor(
AView* view)
override;
56 const auto& value()
const noexcept {
64inline const ass::BackgroundCropping ass::BackgroundCropping::H4_1 = { glm::vec2{0.f / 4.f, 0.f}, glm::vec2{1.f / 4.f, 1.f} };
65inline const ass::BackgroundCropping ass::BackgroundCropping::H4_2 = { glm::vec2{1.f / 4.f, 0.f}, glm::vec2{1.f / 4.f, 1.f} };
66inline const ass::BackgroundCropping ass::BackgroundCropping::H4_3 = { glm::vec2{2.f / 4.f, 0.f}, glm::vec2{1.f / 4.f, 1.f} };
67inline const ass::BackgroundCropping ass::BackgroundCropping::H4_4 = { glm::vec2{3.f / 4.f, 0.f}, glm::vec2{1.f / 4.f, 1.f} };
Base class of all UI objects.
Definition: AView.h:77
Controls background texture cropping by exact UV coordinates. Useful for texture atlases.
Definition: BackgroundCropping.h:27
Base class for all properties.
Definition: IPropertyBase.h:49
Definition: IProperty.h:19