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

A named sub-section of fields within a group. 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

Detailed Description

A named sub-section of fields within a group.

Corresponds to a [subgroup] block in the text format. Used by inspector widgets to show collapsible nested categories. find() performs a linear scan by field name.


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