Navigation
API > API/Plugins > API/Plugins/PCG
Represents a surface implicitly using the top-down 2D projection of a closed spline.
| Name | UPCGSplineInteriorSurfaceData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGSplineInteriorSurfaceData.h |
| Include Path | #include "Data/PCGSplineInteriorSurfaceData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGSplineInteriorSurfaceData : public UPCGSurfaceData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGSurfaceData → UPCGSplineInteriorSurfaceData
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
const UPCGSplineData* InSplineData |
Data/PCGSplineInteriorSurfaceData.h | ||
void Initialize
(
FPCGContext* Context, |
Data/PCGSplineInteriorSurfaceData.h |
Overridden from UPCGSpatialDataWithPointCache
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UPCGPointArrayData * CreatePointArrayData
(
FPCGContext* Context, |
Data/PCGSplineInteriorSurfaceData.h | ||
virtual const UPCGPointData * CreatePointData
(
FPCGContext* Context |
Data/PCGSplineInteriorSurfaceData.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/PCGSplineInteriorSurfaceData.h | |
virtual FBox GetStrictBounds() |
Returns the bounds in which the density is always 1 | Data/PCGSplineInteriorSurfaceData.h | |
virtual bool HasNonTrivialTransform() |
Returns true if the data has a non-trivial transform | Data/PCGSplineInteriorSurfaceData.h | |
virtual bool IsBounded() |
Returns whether a given spatial data is bounded as some data types do not require bounds by themselves | Data/PCGSplineInteriorSurfaceData.h | |
virtual bool ProjectPoint
(
const FTransform& InTransform, |
Project the query point onto this data, and sample point and metadata information at the projected position. | Data/PCGSplineInteriorSurfaceData.h | |
virtual bool SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | Data/PCGSplineInteriorSurfaceData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGSplineInteriorSurfaceData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
Data/PCGSplineInteriorSurfaceData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CacheData
(
FPCGContext* Context |
Recompute cached data used for sampling. | Data/PCGSplineInteriorSurfaceData.h | |
const UPCGBasePointData * CreateBasePointData
(
FPCGContext* Context, |
Data/PCGSplineInteriorSurfaceData.h | ||
bool PointInsidePolygon
(
const FTransform& InTransform, |
True if the given location falls in the top-down projection of the polygon given by our cached spline points. | Data/PCGSplineInteriorSurfaceData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
Data/PCGSplineInteriorSurfaceData.h |