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

◆ is_region_element()

bool MayaFlux::Portal::Forma::is_region_element ( std::string_view name)
inlinenodiscard

Whether an element of this name is a region: circle, polygon, stroke or a combination of two.

Definition at line 24 of file ElementHit.hpp.

25{
26 return name == "circle" || name == "polygon" || name == "stroke" || name == "union_bounds"
27 || name == "intersect_bounds" || name == "subtract_bounds";
28}

Referenced by is_hit_child(), and MayaFlux::Portal::Forma::Detail::read_region().

Here is the caller graph for this function: