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

◆ set_topology()

void MayaFlux::Nodes::Network::ParticleNetwork::set_topology ( Topology  topology)
overridevirtual

Set the network's topology.

Reimplemented from MayaFlux::Nodes::Network::NodeNetwork.

Definition at line 129 of file ParticleNetwork.cpp.

130{
132
133 if (auto* physics = dynamic_cast<PhysicsOperator*>(m_operator.get())) {
134 bool should_interact = topology_interacts(topology);
135 physics->enable_spatial_interactions(should_interact);
136 }
137}
PrimitiveTopology topology
virtual void set_topology(Topology topology)
Set the network's topology.
std::unique_ptr< NetworkOperator > m_operator

References m_operator, MayaFlux::Nodes::Network::NodeNetwork::set_topology(), and topology.

Referenced by ParticleNetwork().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: