1
0
KF2-Dev-Scripts/Engine/Classes/TWGenerateLightmapUVCommandlet.uc
2020-12-13 18:01:13 +03:00

36 lines
984 B
Ucode

//=============================================================================
// TWGenerateLightmapUVCommandlet
//=============================================================================
// Class Description
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// - Author 3/7/2014
//=============================================================================
class TWGenerateLightmapUVCommandlet extends Commandlet
native;
var int LightmapUVChannel;
var float MinChartSpacingPercent;
var float BorderSpacingPercent;
var bool bUseMaxStretch;
cpptext
{
// Generate UV Atlas for lightmap UVs
UBOOL GenerateLightmapUVs(UStaticMesh* Mesh);
}
// Point of entry for the commandlet
native event int Main( string Params );
DefaultProperties
{
LightmapUVChannel=1
MinChartSpacingPercent=1.0
BorderSpacingPercent=0.0
bUseMaxStretch=true
}