Describes a single feature produced by forEachSubfeature().
More...
#include <MRSubfeatures.h>
Public Attributes | |
| std::string_view | name |
| A user-friendly name. | |
| bool | isInfinite = false |
| Whether the feature has infinite length. | |
| std::function< Primitives::Variant(const Features::Primitives::Variant &feature)> | create |
Describes a single feature produced by forEachSubfeature().
| std::function<Primitives::Variant( const Features::Primitives::Variant& feature )> MR::Features::SubfeatureInfo::create |
Call this to create this subfeature. Pass the same feature you passed to forEachSubfeature(), or a DIFFERENT one to create the same kind of subfeature relative to that.
| bool MR::Features::SubfeatureInfo::isInfinite = false |
Whether the feature has infinite length.
| std::string_view MR::Features::SubfeatureInfo::name |
A user-friendly name.