MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / SetValue

Method SetValue

LuaSTGPlus/ResourceMgr.cpp:491–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489}
490
491void ResFX::SetValue(const char* key, float val)LNOEXCEPT
492{
493 auto i = m_pBindingVar.find(key);
494 if (i != m_pBindingVar.end())
495 {
496 for (auto& p : i->second)
497 {
498 if (p->GetValueType() == F2DEPVTYPE_FLOAT)
499 p->SetFloat(val);
500 }
501 }
502}
503
504void ResFX::SetValue(const char* key, fcyColor val)LNOEXCEPT
505{

Callers 2

PostEffectMethod · 0.80
PostEffectApplyMethod · 0.80

Calls 1

findMethod · 0.80

Tested by

no test coverage detected