Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSpatialData
- UPCGSpatialDataWithPointCache
- UPCGIntersectionData
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Data/PCGIntersectionData.h |
| Include | #include "Data/PCGIntersectionData.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGIntersectionData : public UPCGSpatialDataWithPointCache
Remarks
Generic intersection class that delays operations as long as possible.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< const UPCGSpatialData > | A | ||
| TObjectPtr< const UPCGSpatialData > | B | ||
| FBox | CachedBounds | ||
| FBox | CachedStrictBounds | ||
| EPCGIntersectionDensityFunction | DensityFunction |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UPCGPointData * | CreateAndFilterPointData
(
FPCGContext* Context, |
||
| const UPCGSpatialData * | GetA () |
||
| const UPCGSpatialData * | GetB () |
||
| void | Initialize
(
const UPCGSpatialData* InA, |
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 | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |