MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setReferenceEffect

Method setReferenceEffect

Engine/source/afx/afxConstraint.cpp:458–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458afxConstraintID afxConstraintMgr::setReferenceEffect(StringTableEntry which, afxEffectWrapper* ew)
459{
460 S32 idx = find_effect_cons_idx_from_name(which);
461
462 if (idx < 0)
463 return afxConstraintID();
464
465 afxConstraintID id = afxConstraintID(idx);
466 setReferenceEffect(id, ew);
467
468 return id;
469}
470
471afxConstraintID afxConstraintMgr::createReferenceEffect(StringTableEntry which, afxEffectWrapper* ew)
472{

Callers 3

~afxEffectWrapperMethod · 0.80
ew_initMethod · 0.80
cleanupMethod · 0.80

Calls 4

afxConstraintIDClass · 0.85
setMethod · 0.45
sizeMethod · 0.45
unsetMethod · 0.45

Tested by

no test coverage detected