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

◆ get_control_point()

LineVertex MayaFlux::Nodes::GpuSync::PathGeneratorNode::get_control_point ( size_t  index) const

Get control point.

Parameters
indexControl point index (0 = newest)
Returns
Control point position

Definition at line 231 of file PathGeneratorNode.cpp.

232{
233 if (index >= m_control_points.size()) {
235 "Control point index {} out of range (count: {})",
236 index, m_control_points.size());
237 return {};
238 }
239
240 return m_control_points[index];
241}
#define MF_ERROR(comp, ctx,...)
Memory::HistoryBuffer< LineVertex > m_control_points
@ NodeProcessing
Node graph processing (Nodes::NodeGraphManager)
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.

References m_control_points, MF_ERROR, MayaFlux::Journal::NodeProcessing, and MayaFlux::Journal::Nodes.