Navigation
API > API/Plugins > API/Plugins/PCG
Generic projection class (A projected onto B) that intercepts spatial queries
| Name | UPCGProjectionData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGProjectionData.h |
| Include Path | #include "Data/PCGProjectionData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGProjectionData : public UPCGSpatialDataWithPointCache
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGProjectionData
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FPCGProjectionParams & GetProjectionParams() |
Data/PCGProjectionData.h | ||
void Initialize
(
const UPCGSpatialData* InSource, |
Data/PCGProjectionData.h |
Overridden from UPCGSpatialDataWithPointCache
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UPCGPointArrayData * CreatePointArrayData
(
FPCGContext* Context, |
Data/PCGProjectionData.h | ||
virtual const UPCGPointData * CreatePointData
(
FPCGContext* Context |
Data/PCGProjectionData.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/PCGProjectionData.h | |
virtual int GetDimension() |
Returns the dimension of the data type, which has nothing to do with the dimension of its points | Data/PCGProjectionData.h | |
virtual FVector GetNormal() |
Returns the expected data normal (for surfaces) or eventual projection axis (for volumes) | Data/PCGProjectionData.h | |
virtual FBox GetStrictBounds() |
Returns the bounds in which the density is always 1 | Data/PCGProjectionData.h | |
virtual bool HasNonTrivialTransform() |
Returns true if the data has a non-trivial transform | Data/PCGProjectionData.h | |
virtual void InitializeTargetMetadata
(
const FPCGInitializeFromDataParams& InParams, |
Initialize another metadata from this data. | Data/PCGProjectionData.h | |
virtual bool RequiresCollapseToSample() |
True if this operation does not have an inverse and cannot be queried analytically/implicitly, and therefore must be collapsed to an explicit point representation. | Data/PCGProjectionData.h | |
virtual bool SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | Data/PCGProjectionData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGProjectionData.h | |
virtual FPCGCrc ComputeCrc
(
bool bFullDataCrc |
Computes Crc for this and any connected data. | Data/PCGProjectionData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
Data/PCGProjectionData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Applies data from target point to projected point, conditionally according to the projection params. | Data/PCGProjectionData.h | ||
void CopyBaseProjectionClass
(
UPCGProjectionData* NewProjectionData |
Data/PCGProjectionData.h | ||
const UPCGBasePointData * CreateBasePointData
(
FPCGContext* Context, |
Data/PCGProjectionData.h | ||
void GetIncludeExcludeAttributeNames
(
TSet< FName >& OutAttributeNames |
Data/PCGProjectionData.h | ||
FBox ProjectBounds
(
const FBox& InBounds |
Data/PCGProjectionData.h | ||
void SetupTargetMetadata
(
UPCGMetadata* MetadataToInitialize |
Data/PCGProjectionData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
Data/PCGProjectionData.h |