|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Network::PhysicsOperator::enable_bonds | ( | bool | enable | ) |
Enable or disable adopting bonds from sync_bonds_from_claims.
| enable | False also clears any bonds currently held, so the effect is immediate rather than waiting for the next zero-claim cycle. |
Purely a toggle for comparing bonded vs. unbonded behaviour live: the GPU claim/swallow cosmetic pass is unaffected either way, since it never reads this flag. Only apply_bond_forces (a real physics effect) is gated by it.
Definition at line 605 of file PhysicsOperator.cpp.
References clear_bonds(), and m_bonds_enabled.
Here is the call graph for this function: