Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGLandscapeSplineData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGLandscapeSplineData.h |
| Include Path | #include "Data/PCGLandscapeSplineData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGLandscapeSplineData : public UPCGPolyLineData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGPolyLineData → UPCGLandscapeSplineData
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeInfo | FPCGDataTypeInfoLandscapeSpline | Data/PCGLandscapeSplineData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector::FReal GetCurvatureAtDistance
(
int SegmentIndex, |
Data/PCGLandscapeSplineData.h | ||
virtual float GetInputKeyAtDistance
(
int SegmentIndex, |
Data/PCGLandscapeSplineData.h | ||
virtual FTransform GetTransformAtDistance
(
int SegmentIndex, |
Data/PCGLandscapeSplineData.h | ||
void Initialize
(
ULandscapeSplinesComponent* InSplineComponent |
Data/PCGLandscapeSplineData.h |
Overridden from UPCGPolyLineData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector::FReal GetDistanceAtSegmentStart
(
int SegmentIndex |
Get the cumulative distance along the line to the start of a segment. | Data/PCGLandscapeSplineData.h | |
virtual FVector GetLocationAtAlpha
(
float Alpha |
Get the location of the point at the normalized [0, 1] parameter across the entire the poly line. | Data/PCGLandscapeSplineData.h | |
virtual int GetNumSegments () |
Get the number of segments in this line. | Data/PCGLandscapeSplineData.h | |
virtual FVector::FReal GetSegmentLength
(
int SegmentIndex |
Get the length of a specific segment of the line. | Data/PCGLandscapeSplineData.h | |
virtual void GetTangentsAtSegmentStart
(
int SegmentIndex, |
Get the arrive and leave tangents for a control point via its segment index. | Data/PCGLandscapeSplineData.h | |
virtual FTransform GetTransform() |
Get the world-space transform of the entire line. | Data/PCGLandscapeSplineData.h | |
virtual FTransform GetTransformAtAlpha
(
float Alpha |
Get the full transform at the normalized [0, 1] parameter across the entire the poly line. | Data/PCGLandscapeSplineData.h |
Overridden from UPCGSpatialDataWithPointCache
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UPCGPointArrayData * CreatePointArrayData
(
FPCGContext* Context, |
Data/PCGLandscapeSplineData.h | ||
virtual const UPCGPointData * CreatePointData
(
FPCGContext* Context |
Data/PCGLandscapeSplineData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBox GetBounds() |
Returns the full bounds (including density fall-off) of the data | Data/PCGLandscapeSplineData.h | |
virtual bool SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | Data/PCGLandscapeSplineData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGLandscapeSplineData.h | |
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGSEPCGDataType GetDataType() |
@todo_pcg To be deprecated when we switch to the new type | Data/PCGLandscapeSplineData.h | |
virtual const FPCGDataTypeBaseId & GetDataTypeId() |
Data/PCGLandscapeSplineData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
Data/PCGLandscapeSplineData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CheckSpline() |
Data/PCGLandscapeSplineData.h | ||
const UPCGBasePointData * CreateBasePointData
(
FPCGContext* Context, |
Data/PCGLandscapeSplineData.h | ||
void GetInterpPointAtDistance
(
int SegmentIndex, |
Get the index of the first interp point before a given distance. | Data/PCGLandscapeSplineData.h | |
void UpdateReparamTable() |
Recompute the reparameterization of the spline by distance. | Data/PCGLandscapeSplineData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
Data/PCGLandscapeSplineData.h |