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

One sorting identity for an entity and everything under it. More...

#include <SortingGroup.hpp>

Public Attributes

i32 layer {0}
 The sorting layer the whole group presents outward.
i32 order {0}
 Where the group sits inside that layer; higher draws on top.
bool enabled {true}
 A disabled group is not a group: members sort on their own again.

Detailed Description

One sorting identity for an entity and everything under it.

Definition at line 34 of file SortingGroup.hpp.

Member Data Documentation

◆ enabled

bool esengine::ecs::SortingGroup::enabled {true}

A disabled group is not a group: members sort on their own again.

Definition at line 47 of file SortingGroup.hpp.

Referenced by EMSCRIPTEN_BINDINGS().

◆ layer

i32 esengine::ecs::SortingGroup::layer {0}

The sorting layer the whole group presents outward.

Definition at line 38 of file SortingGroup.hpp.

Referenced by EMSCRIPTEN_BINDINGS().

◆ order

i32 esengine::ecs::SortingGroup::order {0}

Where the group sits inside that layer; higher draws on top.

Definition at line 43 of file SortingGroup.hpp.

Referenced by EMSCRIPTEN_BINDINGS().


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/ecs/components/SortingGroup.hpp