MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / set_pp_effector_factor2

Function set_pp_effector_factor2

ogsr_engine/xrGame/level_script.cpp:647–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647void set_pp_effector_factor2(int id, float f)
648{
649 CPostprocessAnimator* pp = smart_cast<CPostprocessAnimator*>(Actor()->Cameras().GetPPEffector((EEffectorPPType)id));
650
651 if (pp)
652 pp->SetCurrentFactor(f);
653}
654
655#include "relation_registry.h"
656

Callers

nothing calls this directly

Calls 3

ActorFunction · 0.85
GetPPEffectorMethod · 0.80
SetCurrentFactorMethod · 0.80

Tested by

no test coverage detected