|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inline |
Apply the members of this network's Controls struct that hold a value.
A network opts in with using Controls = ..., a struct of Control members declared with MF_DESCRIBE, and holds the reference declare_controls() returns. A member named scale is applied to the output scale by the base, so an audio network lists it first. Members left empty are untouched, so net->set({ .decay = lfo }) changes only decay. Designators follow the struct's declaration order. A node source maps in BROADCAST and a network source in ONE_TO_ONE. The string based map_parameter stays for names a user invents. A number may be set from any thread while a block renders. Attaching or removing a node or network source belongs outside process_batch, as with the operator chain.
Definition at line 299 of file NodeNetwork.hpp.
References m_controls_store.
Referenced by MayaFlux::Nodes::Network::PointCloudNetwork::set_connection_radius(), MayaFlux::Nodes::Network::PointCloudNetwork::set_k_neighbors(), MayaFlux::Nodes::Network::PointCloudNetwork::set_line_color(), MayaFlux::Nodes::Network::PointCloudNetwork::set_line_thickness(), MayaFlux::Nodes::Network::PointCloudNetwork::set_samples_per_segment(), and MayaFlux::Nodes::Network::PointCloudNetwork::set_tension().