/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperTerrainMaterial.h
Rule for a single section of a terrain material.
[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType)) struct FPaperTerrainMaterialRule
bool
bEnableCollision
If true, collision is enabled for sections matching this rule.
TArray<TObject...
Body
A set of sprites to randomly choose to fill up the interior space between the caps in a terrain segment.
float
CollisionOffset
How much should the collision be lofted from the spline (positive values go out from the spline, negative values go in to the spline)
FText
Description
Readable description for the rule (unused anywhere, just for clarity when editing the material)
int32
DrawOrder
Specify a draw order for different materials in a spline. Smaller draw orders are drawn first, negative values are allowed.
TObjectPtr< cla...
EndCap
The sprite to use at the 'right' (closest to spline end) edge of the terrain segment.
float
MaximumAngle
Maximum slope angle (in degrees) to apply this rule.
float
MinimumAngle
Minimum slope angle (in degrees) to apply this rule.
TObjectPtr< cla...
StartCap
The sprite to use at the 'left' (closest to spline start) edge of the terrain segment.