Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGDifferenceData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGDifferenceData.h |
| Include Path | #include "Data/PCGDifferenceData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGDifferenceData : public UPCGSpatialDataWithPointCache
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGDifferenceData
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeInfo | FPCGDataTypeInfoComposite | Data/PCGDifferenceData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDiffMetadata | bool | Data/PCGDifferenceData.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RawPointerDifference | const UPCGSpatialData * | Data/PCGDifferenceData.h | ||
| RawPointerDifferencesUnion | UPCGUnionData * | Data/PCGDifferenceData.h | ||
| RawPointerSource | const UPCGSpatialData * | Cached pointers to avoid dereferencing object pointer which does access tracking and supports lazy loading, and can come with substantial overhead (add trace marker to FObjectPtr::Get to see). | Data/PCGDifferenceData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddDifference
(
FPCGContext* InContext, |
Data/PCGDifferenceData.h | ||
void AddDifference
(
const UPCGSpatialData* InDifference |
Data/PCGDifferenceData.h | ||
void Initialize
(
const UPCGSpatialData* InData |
Data/PCGDifferenceData.h |
|
|
void K2_AddDifference
(
const UPCGSpatialData* InDifference |
Data/PCGDifferenceData.h |
|
|
void SetDensityFunction
(
EPCGDifferenceDensityFunction InDensityFunction |
Data/PCGDifferenceData.h |
|
Overridden from UPCGSpatialDataWithPointCache
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UPCGPointArrayData * CreatePointArrayData
(
FPCGContext* Context, |
Data/PCGDifferenceData.h | ||
virtual const UPCGPointData * CreatePointData
(
FPCGContext* Context |
Data/PCGDifferenceData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UPCGSpatialData * FindFirstConcreteShapeFromNetwork() |
Find the first concrete (non-composite) shape in the network. Depth first search. | Data/PCGDifferenceData.h | |
virtual FBox GetBounds() |
Returns the full bounds (including density fall-off) of the data | Data/PCGDifferenceData.h | |
virtual int GetDimension() |
Returns the dimension of the data type, which has nothing to do with the dimension of its points | Data/PCGDifferenceData.h | |
virtual FBox GetStrictBounds() |
Returns the bounds in which the density is always 1 | Data/PCGDifferenceData.h | |
virtual bool HasNonTrivialTransform() |
Returns true if the data has a non-trivial transform | Data/PCGDifferenceData.h | |
virtual void InitializeTargetMetadata
(
const FPCGInitializeFromDataParams& InParams, |
Initialize another metadata from this data. | Data/PCGDifferenceData.h | |
virtual bool SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | Data/PCGDifferenceData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGSEPCGDataType GetDataType() |
@todo_pcg To be deprecated when we switch to the new type | Data/PCGDifferenceData.h | |
virtual const FPCGDataTypeBaseId & GetDataTypeId() |
Data/PCGDifferenceData.h | ||
virtual void VisitDataNetwork
(
TFunctionRef< void(const UPCGData*)> Action |
Executes a lambda over all connected data objects. | Data/PCGDifferenceData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Data/PCGDifferenceData.h | ||
virtual void PostLoad() |
Data/PCGDifferenceData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UPCGBasePointData * CreateBasePointData
(
FPCGContext* Context, |
Data/PCGDifferenceData.h | ||
const UPCGSpatialData * GetDifference() |
Data/PCGDifferenceData.h | ||
UPCGUnionData * GetDifferencesUnion() |
Data/PCGDifferenceData.h | ||
const UPCGSpatialData * GetSource() |
Data/PCGDifferenceData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
Data/PCGDifferenceData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGDifferenceData.h | |
virtual FPCGCrc ComputeCrc
(
bool bFullDataCrc |
Computes Crc for this and any connected data. | Data/PCGDifferenceData.h |