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

26 lines
734 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class PBRuleNodeLODQuad extends PBRuleNodeBase
native(ProcBuilding)
collapsecategories
hidecategories(Object);
/** This controls how far away this region will change to a simple quad, as a scale of the SimpleMeshMassiveLODDistance of the lowest LOD mesh. Should be less than 1.0 */
var() float MassiveLODDistanceScale;
cpptext
{
// PBRuleNodeBase interface
virtual void ProcessScope(FPBScope2D& InScope, INT TopLevelScopeIndex, AProcBuilding* BaseBuilding, AProcBuilding* ScopeBuilding, UStaticMeshComponent* LODParent);
// Editor
virtual FString GetRuleNodeTitle();
}
defaultproperties
{
MassiveLODDistanceScale=0.7
}