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

24 lines
517 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
class LandscapeMaterialInstanceConstant extends MaterialInstanceConstant
native(Material);
var bool bIsLayerThumbnail;
var int DataWeightmapIndex;
var int DataWeightmapSize;
cpptext
{
/**
* Custom version of AllocateResource to minimize the shaders we need to generate
* @return The allocated resource
*/
FMaterialResource* AllocateResource();
static FString LandscapeVisibilitySwitchName;
}
defaultproperties
{
bIsLayerThumbnail=False
DataWeightmapIndex=-1
DataWeightmapSize=0
}