Converts a registry to a group.
More...
#include <entt.hpp>
template<typename Entity>
struct entt::as_group< Entity >
Converts a registry to a group.
- Template Parameters
-
Entity | A valid entity type (see entt_traits for more details). |
◆ as_group()
template<typename Entity >
Constructs a converter for a given registry.
- Parameters
-
source | A valid reference to a registry. |
◆ operator basic_group< entity_type, Exclude, Get, Owned... >()
template<typename Entity >
template<typename Exclude , typename Get , typename... Owned>
Conversion function from a registry to a group.
- Template Parameters
-
Exclude | Types of components used to filter the group. |
Get | Types of components observed by the group. |
Owned | Types of components owned by the group. |
- Returns
- A newly created group.
The documentation for this struct was generated from the following file: