Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::ecs::FlexContainer Struct Reference

#include <FlexContainer.hpp>

Public Attributes

FlexDirection direction {FlexDirection::Row}
FlexWrap wrap {FlexWrap::NoWrap}
JustifyContent justifyContent {JustifyContent::Start}
AlignItems alignItems {AlignItems::Stretch}
AlignContent alignContent {AlignContent::Start}
glm::vec2 gap {0.0f, 0.0f}
Padding padding {}

Detailed Description

Definition at line 55 of file FlexContainer.hpp.

Member Data Documentation

◆ alignContent

AlignContent esengine::ecs::FlexContainer::alignContent {AlignContent::Start}

Definition at line 65 of file FlexContainer.hpp.

Referenced by flexcontainerApplyJS(), and flexcontainerToJS().

◆ alignItems

AlignItems esengine::ecs::FlexContainer::alignItems {AlignItems::Stretch}

Definition at line 63 of file FlexContainer.hpp.

Referenced by flexcontainerApplyJS(), and flexcontainerToJS().

◆ direction

FlexDirection esengine::ecs::FlexContainer::direction {FlexDirection::Row}

Definition at line 57 of file FlexContainer.hpp.

Referenced by flexcontainerApplyJS(), and flexcontainerToJS().

◆ gap

glm::vec2 esengine::ecs::FlexContainer::gap {0.0f, 0.0f}

Definition at line 67 of file FlexContainer.hpp.

Referenced by flexcontainerApplyJS(), and flexcontainerToJS().

◆ justifyContent

JustifyContent esengine::ecs::FlexContainer::justifyContent {JustifyContent::Start}

Definition at line 61 of file FlexContainer.hpp.

Referenced by flexcontainerApplyJS(), and flexcontainerToJS().

◆ padding

Padding esengine::ecs::FlexContainer::padding {}

Definition at line 69 of file FlexContainer.hpp.

Referenced by flexcontainerApplyJS(), and flexcontainerToJS().

◆ wrap

FlexWrap esengine::ecs::FlexContainer::wrap {FlexWrap::NoWrap}

Definition at line 59 of file FlexContainer.hpp.

Referenced by flexcontainerApplyJS(), and flexcontainerToJS().


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