26 lines
734 B
Ucode
26 lines
734 B
Ucode
/**
|
|
* 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
|
|
} |