MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Forma::PolygonInputs Struct Reference

An outline in unit space, filled or stroked, with a bool state. More...

#include <StaticGeometryInputs.hpp>

Collaboration diagram for MayaFlux::Portal::Forma::PolygonInputs:

Public Attributes

std::optional< glm::vec4 > active
glm::vec4 color { 1.F }
std::vector< glm::vec4 > colors
std::string containment
std::vector< PolygonHole > holes
std::string interaction
bool on { false }
std::vector< glm::vec2 > points
float thickness { 0.F }

Detailed Description

An outline in unit space, filled or stroked, with a bool state.

points and the holes' points are x y pairs in the unit square, which the placement's rect maps onto the surface. colors is empty or one per point, and a hole follows its outline. A thickness above zero draws the rings as a line loop instead of filling them. While the state is true the active color replaces every vertex color. containment and interaction are names a table resolves.

Definition at line 43 of file StaticGeometryInputs.hpp.


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