29 lines
803 B
Ucode
29 lines
803 B
Ucode
/**
|
|
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
|
|
*/
|
|
|
|
class PBRuleNodeEdgeMesh extends PBRuleNodeBase
|
|
native(ProcBuilding)
|
|
collapsecategories
|
|
hidecategories(Object);
|
|
|
|
/** Angle in degrees at which point surfaces are considered co-planar, and edge mesh is not added */
|
|
var() float FlatThreshold;
|
|
|
|
/** Amount to 'pull in' the main face from each edge, to reduce overlap between edge mesh and face meshes */
|
|
var() float MainXPullIn;
|
|
|
|
cpptext
|
|
{
|
|
// PBRuleNodeBase interface
|
|
virtual void ProcessScope(FPBScope2D& InScope, INT TopLevelScopeIndex, AProcBuilding* BaseBuilding, AProcBuilding* ScopeBuilding, UStaticMeshComponent* LODParent);
|
|
}
|
|
|
|
|
|
defaultproperties
|
|
{
|
|
FlatThreshold=5.0
|
|
|
|
NextRules[0]=(LinkName="Main")
|
|
NextRules[1]=(LinkName="Edge")
|
|
} |