|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
overridevirtual |
Adds "mass" (PhysicsState::mass) and "accreted_mass" (get_accreted_mass_span()) as named float attributes, in the same global vertex-index order get_vertex_data() produces.
Reads m_accreted_mass directly rather than calling get_accreted_mass_span(), which is non-const (it lazily seeds m_accreted_mass on first call): this override must stay const, so that method's own default of 1.0F per particle before the first sync_bonds_from_claims is replicated here instead.
Cluster/collection membership is not repeated here: a consumer already gets that from build_cluster_ids(), which this class already overrides.
Reimplemented from MayaFlux::Nodes::Network::GraphicsOperator.
Definition at line 823 of file PhysicsOperator.cpp.
References get_point_count(), m_accreted_mass, and m_collections.
Here is the call graph for this function: