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

An outline in unit space that grows along one axis with a float state. More...

#include <DragGeometryInputs.hpp>

Collaboration diagram for MayaFlux::Portal::Forma::ScaleInputs:

Public Attributes

glm::vec4 color { 1.F }
bool horizontal { true }
std::vector< glm::vec2 > points
float value { 0.F }

Detailed Description

An outline in unit space that grows along one axis with a float state.

points are x y pairs of a single ring. The state, clamped to [0, 1], scales every point along x when horizontal and along y otherwise, and the placement's rect maps the result onto the surface. value is the initial state.

Definition at line 18 of file DragGeometryInputs.hpp.


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