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

Method createReferenceEffect

Engine/source/afx/afxConstraint.cpp:471–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471afxConstraintID afxConstraintMgr::createReferenceEffect(StringTableEntry which, afxEffectWrapper* ew)
472{
473 afxEffectConstraint* cons = new afxEffectConstraint(this, which);
474 //cons->cons_def = def;
475 cons->mCons_def.mDef_type = afxConstraintDef::CONS_EFFECT;
476 cons->mCons_def.mCons_src_name = which;
477 afxConstraintList* list = new afxConstraintList();
478 list->push_back(cons);
479 mConstraints_v.push_back(list);
480
481 return setReferenceEffect(which, ew);
482}
483
484void afxConstraintMgr::setReferencePoint(afxConstraintID id, Point3F point, Point3F vector)
485{

Callers 1

ew_initMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected