Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSpatialData
- UPCGPointData
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGPointData.h |
| Include | #include "Data/PCGPointData.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGPointData : public UPCGSpatialData
Remarks
TODO: Split this in "concrete" vs "api" class (needed for views)
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bBoundsAreDirty | ||
| bool | bOctreeIsDirty | ||
| FBox | Bounds | ||
| FCriticalSection | CachedDataLock | ||
| PointOctree | Octree | ||
| TArray< FPCGPoint > | Points |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSinglePointFromActor
(
AActor* InActor, |
Adds a single point based on the given actor | |
| void | CopyPointsFrom
(
const UPCGPointData* InData, |
||
| TArray< FPCGPoint > & | |||
| const PointOctree & | GetOctree () |
||
| FPCGPoint | |||
| const TArray< FPCGPoint > & | GetPoints () |
||
| TArray< FPCGPoint > | |||
| void | InitializeFromActor
(
AActor* InActor, |
Initializes a single point based on the given actor | |
| bool | Get the dirty status of the Octree. | ||
| bool | ProjectPoint
(
const FTransform& InTransform, |
||
| void | |||
| void | |||
| void |
Overridden from UPCGSpatialData
| Type | Name | Description | |
|---|---|---|---|
| UPCGSpatialData * | CopyInternal () |
||
| 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 | |
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
||
| bool | ProjectPoint
(
const FTransform& InTransform, |
Project the query point onto this data, and sample point and metadata information at the projected position. | |
| bool | SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | |
| const UPCGPointData * | ToPointData
(
FPCGContext* Context, |
Overridden from UPCGData
| Type | Name | Description | |
|---|---|---|---|
| void | AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. Fallback implementation writes object instance UID. | |
| void | Flatten () |
Make a pass on Metadata to flatten parenting and only keep entries used by points. | |
| EPCGDataType | GetDataType () |
Typedefs
| Name | Description |
|---|---|
| PointOctree |