Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSpatialData
- UPCGSpatialDataWithPointCache
- UPCGDifferenceData
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Data/PCGDifferenceData.h |
| Include | #include "Data/PCGDifferenceData.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGDifferenceData : public UPCGSpatialDataWithPointCache
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDiffMetadata | ||
| EPCGDifferenceDensityFunction | DensityFunction | ||
| TObjectPtr< const UPCGSpatialData > | Difference | ||
| TObjectPtr< UPCGUnionData > | DifferencesUnion | ||
| TObjectPtr< const UPCGSpatialData > | Source |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddDifference
(
const UPCGSpatialData* InDifference |
||
| const UPCGSpatialData * | |||
| UPCGUnionData * | |||
| const UPCGSpatialData * | GetSource () |
||
| void | Initialize
(
const UPCGSpatialData* InData |
||
| void | SetDensityFunction
(
EPCGDifferenceDensityFunction InDensityFunction |
Overridden from UPCGSpatialDataWithPointCache
| Type | Name | Description | |
|---|---|---|---|
| const UPCGPointData * | CreatePointData
(
FPCGContext* Context |
Overridden from UPCGSpatialData
| Type | Name | Description | |
|---|---|---|---|
| UPCGSpatialData * | CopyInternal () |
||
| const UPCGSpatialData * | Find the first concrete (non-composite) shape in the network. Depth first search. | ||
| FBox | GetBounds () |
Returns the full bounds (including density fall-off) of the data | |
| int | GetDimension () |
Returns the dimension of the data type, which has nothing to do with the dimension of its points | |
| FBox | Returns the bounds in which the density is always 1 | ||
| bool | Returns true if the data has a non-trivial transform | ||
| bool | SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. |
Overridden from UPCGData
| Type | Name | Description | |
|---|---|---|---|
| void | AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. Fallback implementation writes object instance UID. | |
| FPCGCrc | ComputeCrc
(
bool bFullDataCrc |
Computes Crc for this and any connected data. | |
| EPCGDataType | GetDataType () |
||
| void | VisitDataNetwork
(
TFunctionRef< void(const UPCGData*)> Action |
Executes a lambda over all connected data objects. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |