Class prefab

Synopsis

#include <include/flecs/cpp/entity.hpp>

class prefab final : public entity

Description

Prefab class

Inheritance

Ancestors: entity

Methods

prefab

Source

Lines 1434-1441 in include/flecs/cpp/entity.hpp.

class prefab final : public entity {
public:
    explicit prefab(const flecs::world& world, const char *name = nullptr) 
        : entity(world, name)
    {
        this->add(flecs::Prefab);
    }
};