Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGVolumeData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGVolumeData.h |
| Include Path | #include "Data/PCGVolumeData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGVolumeData : public UPCGSpatialDataWithPointCache
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGVolumeData
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UPCGVolumeData() |
Data/PCGVolumeData.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeInfo | FPCGDataTypeInfoVolume | Data/PCGVolumeData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| VoxelSize | FVector | Data/PCGVolumeData.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TWeakObjectPtr< AVolume > GetVolumeActor() |
Data/PCGVolumeData.h | ||
void Initialize
(
AVolume* InVolume |
Data/PCGVolumeData.h | ||
void Initialize
(
const FBox& InBounds |
Data/PCGVolumeData.h |
Overridden from UPCGSpatialDataWithPointCache
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UPCGPointArrayData * CreatePointArrayData
(
FPCGContext* Context, |
Data/PCGVolumeData.h | ||
virtual const UPCGPointData * CreatePointData
(
FPCGContext* Context |
Data/PCGVolumeData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBox GetBounds() |
Returns the full bounds (including density fall-off) of the data | Data/PCGVolumeData.h | |
virtual int GetDimension() |
Returns the dimension of the data type, which has nothing to do with the dimension of its points | Data/PCGVolumeData.h | |
virtual FBox GetStrictBounds() |
Returns the bounds in which the density is always 1 | Data/PCGVolumeData.h | |
virtual bool SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | Data/PCGVolumeData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGVolumeData.h | |
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGSEPCGDataType GetDataType() |
@todo_pcg To be deprecated when we switch to the new type | Data/PCGVolumeData.h | |
virtual const FPCGDataTypeBaseId & GetDataTypeId() |
Data/PCGVolumeData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CopyBaseVolumeData
(
UPCGVolumeData* NewVolumeData |
Data/PCGVolumeData.h | ||
void ReleaseInternalBodyInstance() |
Data/PCGVolumeData.h | ||
void SetupVolumeBodyInstance() |
Data/PCGVolumeData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
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; | Data/PCGVolumeData.h |