|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::GpuSync::GlyphGeometryNode::set_pen_offsets | ( | std::vector< glm::vec2 > | offsets | ) |
Override pen offsets for all glyphs.
Each element corresponds to outlines()[i]. The caller computes whatever positions it wants (wave, noise, physics) and sets them here. write_vertices() uses these offsets on the next compute_frame().
| offsets | Must have the same size as outlines(). Silently ignored if sizes do not match. |
Definition at line 137 of file GlyphGeometryNode.cpp.
References m_outlines, m_pen_offsets, and MayaFlux::Nodes::GpuSync::GeometryWriterNode::m_vertex_data_dirty.