MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_region_attribute()

void MayaFlux::Kakshya::set_region_attribute ( Region region,
const std::string &  key,
std::any  value 
)

Set an attribute value on a Region.

Parameters
regionRegion to modify.
keyAttribute key.
valueValue to set.

Definition at line 5 of file RegionUtils.cpp.

6{
7 region.attributes[key] = std::move(value);
8}
std::unordered_map< std::string, std::any > attributes
Flexible key-value store for region-specific attributes.
Definition Region.hpp:75

References MayaFlux::Kakshya::Region::attributes.

Referenced by get_bounding_region().

+ Here is the caller graph for this function: