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

30 lines
894 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class MaterialExpressionStaticBoolParameter extends MaterialExpressionParameter
native(Material)
collapsecategories
hidecategories(Object);
var() bool DefaultValue;
var() bool ExtendedCaptionDisplay;
//the override that will be set when this expression is being compiled from a static permutation
var const native transient pointer InstanceOverride{const FStaticSwitchParameter};
cpptext
{
virtual INT Compile(FMaterialCompiler* Compiler, INT OutputIndex);
virtual INT CompilePreview(FMaterialCompiler* Compiler, INT OutputIndex);
virtual FString GetCaption() const;
virtual void SetStaticParameterOverrides(const FStaticParameterSet* Permutation);
virtual void ClearStaticParameterOverrides();
}
defaultproperties
{
bUsedByStaticParameterSet=true
MenuCategories(0)="Parameters"
}