Module |
|
Header |
/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperTerrainMaterial.h |
Include |
#include "PaperTerrainMaterial.h" |
[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FPaperTerrainMaterialRule
Rule for a single section of a terrain material.
Name | Description | ||
---|---|---|---|
|
bEnableCollision |
If true, collision is enabled for sections matching this rule. |
|
|
TArray< class U... |
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) |
|
Description |
Readable description for the rule (unused anywhere, just for clarity when editing the material) |
|
|
DrawOrder |
Specify a draw order for different materials in a spline. Smaller draw orders are drawn first, negative values are allowed. |
|
|
UPaperSprite &#... |
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. |
|
UPaperSprite &#... |
StartCap |
The sprite to use at the 'left' (closest to spline start) edge of the terrain segment. |
Name | Description | |
---|---|---|
|
FPaperTerrainMaterialRule() |