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

◆ set_path_thickness()

void MayaFlux::Nodes::GpuSync::PathGeneratorNode::set_path_thickness ( float  thickness,
bool  force_uniform = true 
)

Set path thickness (applied to all generated vertices)

Parameters
thicknessLine thickness
force_uniformIf true, ignores per-segment thickness and uses this thickness for all vertices

Definition at line 358 of file PathGeneratorNode.cpp.

359{
360 m_current_thickness = thickness;
361 m_force_uniform_thickness = force_uniform;
362 m_attributes_dirty = true;
363 m_path_dirty = true;
364
366 for (auto& v : m_completed_draws)
367 v.thickness = thickness;
368
369 for (auto& v : m_draw_vertices)
370 v.thickness = thickness;
371 }
372}

References m_attributes_dirty, m_completed_draws, m_current_thickness, m_draw_vertices, m_force_uniform_thickness, and m_path_dirty.

Referenced by force_uniform_thickness().

+ Here is the caller graph for this function: