Function prefab

Summary

#include <include/flecs/addons/cpp/mixins/entity/mixin.inl>

(1) template <typename... Args>
    flecs::entity prefab(Args &&... args) const

(2) template <typename T>
    flecs::entity prefab(const char *name=nullptr) const

Function overload

Synopsis

#include <include/flecs/addons/cpp/mixins/entity/mixin.inl>

template <typename... Args>
flecs::entity prefab(Args &&... args) const

Description

Create a prefab.

Mentioned in

Source

Line 20 in include/flecs/addons/cpp/mixins/entity/mixin.inl.

Synopsis

#include <include/flecs/addons/cpp/mixins/entity/mixin.inl>

template <typename T>
flecs::entity prefab(const char *name=nullptr) const

Description

Create a prefab that's associated with a type.

Mentioned in

Source

Line 30 in include/flecs/addons/cpp/mixins/entity/mixin.inl.