Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSpatialData
- UPCGSpatialDataWithPointCache
- UPCGVolumeData
- UPCGWorldVolumetricData
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Data/PCGVolumeData.h |
| Include | #include "Data/PCGVolumeData.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGVolumeData : public UPCGSpatialDataWithPointCache
Variables
| Type | Name | Description | |
|---|---|---|---|
| FBox | Bounds | ||
| FBox | StrictBounds | ||
| TWeakObjectPtr< AVolume > | Volume | ||
| FVector | VoxelSize |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CopyBaseVolumeData
(
UPCGVolumeData* NewVolumeData |
||
| void | Initialize
(
AVolume* InVolume |
||
| void | Initialize
(
const FBox& InBounds |
Overridden from UPCGSpatialDataWithPointCache
| Type | Name | Description | |
|---|---|---|---|
| const UPCGPointData * | CreatePointData
(
FPCGContext* Context |
Overridden from UPCGSpatialData
| Type | Name | Description | |
|---|---|---|---|
| UPCGSpatialData * | CopyInternal () |
TODO what should this do - closest point on volume? virtual bool ProjectPoint(const FTransform& InTransform, const FBox& InBounds, const FPCGProjectionParams& InParams, FPCGPoint& OutPoint, UPCGMetadata* OutMetadata) const; | |
| 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 | SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. |
Overridden from UPCGData
| Type | Name | Description | |
|---|---|---|---|
| EPCGDataType | GetDataType () |