|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Network::PointCloudNetwork::apply_color_gradient | ( | const glm::vec3 & | start_color, |
| const glm::vec3 & | end_color | ||
| ) |
Set colors for all points.
| colors | Vector of RGB colors |
Apply linear color gradient across points
| start_color | Color for first point |
| end_color | Color for last point |
Definition at line 228 of file PointCloudNetwork.cpp.
References count, m_cached_vertices, MF_DEBUG, MayaFlux::Journal::NodeProcessing, MayaFlux::Journal::Nodes, and set_vertices().
Here is the call graph for this function: