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

◆ set_center()

void MayaFlux::Buffers::InfluxProcessor::set_center ( const glm::vec3 &  center)

Set the shape's world-space centre.

Parameters
centerPosition. Interpretation is the shader's.

Definition at line 107 of file InfluxProcessor.cpp.

108{
109 m_center = center;
110 if (get_volume()) {
111 write_tail();
112 }
113}
void write_tail()
Write every parameter past the shared prefix.
const std::shared_ptr< VolumeGridBuffer > & get_volume() const
The attached volume, or null if attachment failed validation.

References MayaFlux::Buffers::VolumeFieldProcessor::get_volume(), m_center, and write_tail().

+ Here is the call graph for this function: