| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperTerrainComponent.h |
Include |
#include "PaperTerrainComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, Experimental)
class PAPER2UPaperTerrainComponent : public UPrimitiveComponent
The terrain visualization component for an associated spline component. This takes a 2D terrain material and instances sprite geometry along the spline path.
Name | Description | ||
---|---|---|---|
|
UPaperTerrainSp... |
AssociatedSpline |
|
|
bClosedSpline |
||
|
bFilledSpline |
||
|
UBodySetup *... |
CachedBodySetup |
Description of collision |
|
float |
CollisionThickness |
The extrusion thickness of collision geometry when using a 3D collision domain |
|
GeneratedSpriteGeometry |
||
|
RandomSeed |
Random seed used for choosing which spline meshes to use. |
|
|
ReparamStepsPerSegment |
Number of steps per spline segment to place in the reparameterization table |
|
|
float |
SegmentOverlapAmount |
The overlap amount between segments |
|
TEnumAsByte< ES... |
SpriteCollisionDomain |
Collision domain (no collision, 2D (experimental), or 3D) |
|
TerrainColor |
The color of the terrain (passed to the sprite material as a vertex color) |
|
|
UPaperTerrainMa... |
TerrainMaterial |
The terrain material to apply to this component (set of rules for which sprites are used on different surfaces or the interior) |
Name | Description | |
---|---|---|
|
PAPER2UPaperTerrainComponent ( |
Name | Description | ||
---|---|---|---|
|
ConstrainSplinePointsToXZ() |
||
|
GenerateCollisionDataFromPolygon |
||
|
GenerateFillRenderDataFromPolygon |
||
|
GetTransformAtDistance ( |
||
|
InsertConvexCollisionDataFromPolygon |
||
|
OnSplineEdited() |
||
|
SetTerrainColor ( |
Set color of the terrain. |
|
|
SpawnSegments ( |
Name | Description | ||
---|---|---|---|
|
FPrimitiveSc... |
CreateSceneProxy() |
Creates a proxy to represent the primitive to the scene manager in the rendering thread. |
|
UBodySetup &... |
GetBodySetup() |
Return the BodySetup to use for this PrimitiveComponent (single body case) |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Name | Description | ||
---|---|---|---|
|
const UObjec... |
AdditionalStatObject() |
Give a readable name for this component, including asset name if applicable |
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
OnUnregister() |
Called when a component is unregistered. |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |