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

Function set_pp_effector_factor

ogsr_engine/xrGame/level_script.cpp:639–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639void set_pp_effector_factor(int id, float f, float f_sp)
640{
641 CPostprocessAnimator* pp = smart_cast<CPostprocessAnimator*>(Actor()->Cameras().GetPPEffector((EEffectorPPType)id));
642
643 if (pp)
644 pp->SetDesiredFactor(f, f_sp);
645}
646
647void set_pp_effector_factor2(int id, float f)
648{

Callers

nothing calls this directly

Calls 3

ActorFunction · 0.85
GetPPEffectorMethod · 0.80
SetDesiredFactorMethod · 0.80

Tested by

no test coverage detected