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

Function add_pp_effector

ogsr_engine/xrGame/level_script.cpp:624–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622
623#include "postprocessanimator.h"
624void add_pp_effector(LPCSTR fn, int id, bool cyclic)
625{
626 CPostprocessAnimator* pp = xr_new<CPostprocessAnimator>(id, cyclic);
627 pp->Load(fn);
628 Actor()->Cameras().AddPPEffector(pp);
629}
630
631void remove_pp_effector(int id)
632{

Callers

nothing calls this directly

Calls 3

ActorFunction · 0.85
AddPPEffectorMethod · 0.80
LoadMethod · 0.45

Tested by

no test coverage detected