Navigation
API > API/Plugins > API/Plugins/PCG
Generic intersection class that delays operations as long as possible.
| Name | UPCGIntersectionData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGIntersectionData.h |
| Include Path | #include "Data/PCGIntersectionData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGIntersectionData : public UPCGSpatialDataWithPointCache
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGIntersectionData
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeInfo | FPCGDataTypeInfoComposite | Data/PCGIntersectionData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| A | TObjectPtr< const UPCGSpatialData > | Data/PCGIntersectionData.h |
|
|
| B | TObjectPtr< const UPCGSpatialData > | Data/PCGIntersectionData.h |
|
|
| DensityFunction | EPCGIntersectionDensityFunction | Data/PCGIntersectionData.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RawPointerA | 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/PCGIntersectionData.h | |
| RawPointerB | const UPCGSpatialData * | Data/PCGIntersectionData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
const UPCGSpatialData* InA, |
Data/PCGIntersectionData.h |
|
Overridden from UPCGSpatialDataWithPointCache
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UPCGPointArrayData * CreatePointArrayData
(
FPCGContext* Context, |
Data/PCGIntersectionData.h | ||
virtual const UPCGPointData * CreatePointData
(
FPCGContext* Context |
Data/PCGIntersectionData.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/PCGIntersectionData.h | |
virtual FBox GetBounds() |
Returns the full bounds (including density fall-off) of the data | Data/PCGIntersectionData.h | |
virtual int GetDimension() |
Returns the dimension of the data type, which has nothing to do with the dimension of its points | Data/PCGIntersectionData.h | |
virtual FBox GetStrictBounds() |
Returns the bounds in which the density is always 1 | Data/PCGIntersectionData.h | |
virtual bool HasNonTrivialTransform() |
Returns true if the data has a non-trivial transform | Data/PCGIntersectionData.h | |
virtual void InitializeTargetMetadata
(
const FPCGInitializeFromDataParams& InParams, |
Initialize another metadata from this data. | Data/PCGIntersectionData.h | |
virtual bool SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | Data/PCGIntersectionData.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/PCGIntersectionData.h | |
virtual const FPCGDataTypeBaseId & GetDataTypeId() |
Data/PCGIntersectionData.h | ||
virtual void VisitDataNetwork
(
TFunctionRef< void(const UPCGData*)> Action |
Executes a lambda over all connected data objects. | Data/PCGIntersectionData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
Data/PCGIntersectionData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGBasePointData * CreateAndFilterPointData
(
FPCGContext* Context, |
Data/PCGIntersectionData.h | ||
UPCGBasePointData * CreateBasePointData
(
FPCGContext* Context, |
Data/PCGIntersectionData.h | ||
const UPCGSpatialData * GetA() |
Data/PCGIntersectionData.h | ||
const UPCGSpatialData * GetB() |
Data/PCGIntersectionData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
Data/PCGIntersectionData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGIntersectionData.h | |
virtual FPCGCrc ComputeCrc
(
bool bFullDataCrc |
Computes Crc for this and any connected data. | Data/PCGIntersectionData.h |