Toast Engine
Loading...
Searching...
No Matches
assets::Prefab::Group Struct Reference

A named group of fields and optional subgroups. More...

#include <prefab.hpp>

Public Member Functions

auto find (std::string_view name) const -> std::optional< Field >

Public Attributes

std::string name
std::vector< Field > fields
std::vector< Subgroup > subgroups

Detailed Description

A named group of fields and optional subgroups.

Corresponds to a [group] block in the text format. find() searches flat fields first, then descends into subgroups.


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