MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetupEffects

Method SetupEffects

trinity/Eve/SpaceObjectFactory/EveSOF.cpp:335–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335void EveSOF::SetupEffects( EveSpaceObject2Ptr obj, IEveEffectChildrenOwnerPtr childContainer, const EveSOFDNAPtr dna, const std::vector<Matrix>& offsets, uint32_t buildFlags ) const
336{
337 if( !dna->UsingSof6() )
338 {
339 // children, animations and particles
340 SetupChildrenAndAnimations( obj, childContainer, dna, offsets, buildFlags );
341 }
342 else
343 {
344 // children from childsets
345 SetupEffectChildren( obj, childContainer, dna, offsets, buildFlags );
346 }
347}
348
349
350// --------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

UsingSof6Method · 0.80

Tested by

no test coverage detected