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

◆ get_timestep()

float MayaFlux::Nodes::Network::NodeNetwork::get_timestep ( ) const
inline

Seconds one visual frame advances this network.

Returns
The override if one was set, otherwise the frame period.

Definition at line 452 of file NodeNetwork.hpp.

453 {
454 if (m_timestep) {
455 return *m_timestep;
456 }
457 return m_frame_rate > 0 ? 1.0F / static_cast<float>(m_frame_rate) : 0.0F;
458 }

Referenced by MayaFlux::Nodes::Network::ParticleNetwork::get_metadata(), MayaFlux::Nodes::Network::MeshNetwork::process_batch(), and MayaFlux::Nodes::Network::ParticleNetwork::process_batch().

+ Here is the caller graph for this function: