Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSpatialData
- UPCGSpatialDataWithPointCache
- UPCGProjectionData
- UPCGSplineProjectionData
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Data/PCGProjectionData.h |
| Include | #include "Data/PCGProjectionData.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGProjectionData : public UPCGSpatialDataWithPointCache
Remarks
Generic projection class (A projected onto B) that intercepts spatial queries
Variables
| Type | Name | Description | |
|---|---|---|---|
| FBox | CachedBounds | ||
| FBox | CachedStrictBounds | ||
| FPCGProjectionParams | ProjectionParams | ||
| TObjectPtr< const UPCGSpatialData > | Source | ||
| TObjectPtr< const UPCGSpatialData > | Target |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyProjectionResult
(
const FPCGPoint& InTargetPoint, |
Applies data from target point to projected point, conditionally according to the projection params. | |
| void | CopyBaseProjectionClass
(
UPCGProjectionData* NewProjectionData |
||
| void | GetIncludeExcludeAttributeNames
(
TSet< FName >& OutAttributeNames |
||
| const FPCGProjectionParams & | |||
| void | Initialize
(
const UPCGSpatialData* InSource, |
||
| FBox | ProjectBounds
(
const FBox& InBounds |
Overridden from UPCGSpatialDataWithPointCache
| Type | Name | Description | |
|---|---|---|---|
| const UPCGPointData * | CreatePointData
(
FPCGContext* Context |
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 | |
| FVector | GetNormal () |
Returns the expected data normal (for surfaces) or eventual projection axis (for volumes) | |
| FBox | Returns the bounds in which the density is always 1 | ||
| bool | Returns true if the data has a non-trivial transform | ||
| bool | True if this operation does not have an inverse and cannot be queried analytically/implicitly, and therefore must be collapsed to an explicit point representation. | ||
| bool | SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. |