1
0
KF2-Dev-Scripts/Engine/Classes/PostProcessChain.uc

27 lines
604 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class PostProcessChain extends Object
native;
/** Post process effects active in this chain. Rendered in order */
var array<PostProcessEffect> Effects;
/**
* Returns the index of the named post process effect, None if not found.
*/
final function PostProcessEffect FindPostProcessEffect(name EffectName)
{
local int Idx;
for (Idx = 0; Idx < Effects.Length; Idx++)
{
if (Effects[Idx] != None && Effects[Idx].EffectName == EffectName)
{
return Effects[Idx];
}
}
// not found
return None;
}