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

◆ background()

Series & MayaFlux::Portal::Forma::Plot::Series::background ( Kinesis::AABB2D  bounds,
glm::vec3  color = glm::vec3(0.08F) 
)
inline

Set a solid-color background quad for this plot area.

When set, Forma::plot() creates a background element behind the plot geometry. Has no effect when using Plot::place() directly.

Parameters
boundsNDC bounds of the background quad.
colorFill color. Defaults to a dark near-black.

Definition at line 274 of file SeriesBuilder.hpp.

275 {
278 m_has_background = true;
279 return *this;
280 }
Series & color(std::initializer_list< glm::vec3 > colors)
Append colors to the global palette.
Series & bounds(Kinesis::AABB2D bounds)
Set the logical plot/data bounds used by labels, tick labels, legends, and future plot adornments.