Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGBasePointData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGBasePointData.h |
| Include Path | #include "Data/PCGBasePointData.h" |
Syntax
UCLASS (MinimalAPI, Abstract, BlueprintType, ClassGroup=(Procedural))
class UPCGBasePointData : public UPCGSpatialData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGBasePointData
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGBasePointData
(
const FObjectInitializer& ObjectInitializer |
Data/PCGBasePointData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSinglePointFromActor
(
AActor* InActor, |
Adds a single point based on the given actor | Data/PCGBasePointData.h | |
virtual void AllocateProperties
(
EPCGPointNativeProperties Properties |
Data/PCGBasePointData.h | ||
void BP_SetPointsFrom
(
const UPCGBasePointData* InData, |
Data/PCGBasePointData.h |
|
|
virtual void CopyPointsTo
(
UPCGBasePointData* To, |
Data/PCGBasePointData.h | ||
virtual void CopyPointsTo
(
UPCGBasePointData* To, |
Data/PCGBasePointData.h | ||
virtual void CopyPropertiesTo
(
UPCGBasePointData* To, |
Data/PCGBasePointData.h | ||
virtual void CopyPropertiesTo
(
UPCGBasePointData* To, |
Data/PCGBasePointData.h | ||
virtual void CopyUnallocatedPropertiesFrom
(
const UPCGBasePointData* InPointData |
Data/PCGBasePointData.h | ||
virtual void FreeProperties
(
EPCGPointNativeProperties Properties |
Data/PCGBasePointData.h | ||
virtual EPCGPointNativeProperties GetAllocatedProperties
(
bool bWithInheritance |
Data/PCGBasePointData.h | ||
virtual const FVector & GetBoundsMax
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual TPCGValueRange< FVector > GetBoundsMaxValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual const FVector & GetBoundsMin
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual TPCGValueRange< FVector > GetBoundsMinValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual const FVector4 & GetColor
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual TPCGValueRange< FVector4 > GetColorValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual TConstPCGValueRange< FVector > GetConstBoundsMaxValueRange() |
Data/PCGBasePointData.h | ||
virtual TConstPCGValueRange< FVector > GetConstBoundsMinValueRange() |
Data/PCGBasePointData.h | ||
virtual TConstPCGValueRange< FVector4 > GetConstColorValueRange() |
Data/PCGBasePointData.h | ||
virtual TConstPCGValueRange< float > GetConstDensityValueRange() |
Data/PCGBasePointData.h | ||
virtual TConstPCGValueRange< int64 > GetConstMetadataEntryValueRange() |
Data/PCGBasePointData.h | ||
virtual TConstPCGValueRange< int32 > GetConstSeedValueRange() |
Data/PCGBasePointData.h | ||
virtual TConstPCGValueRange< float > GetConstSteepnessValueRange() |
Data/PCGBasePointData.h | ||
virtual TConstPCGValueRange< FTransform > GetConstTransformValueRange() |
Data/PCGBasePointData.h | ||
TConstPCGValueRange< T > GetConstValueRange
(
EPCGPointNativeProperties NativeProperty |
Data/PCGBasePointData.h | ||
virtual float GetDensity
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual FBoxSphereBounds GetDensityBounds
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual TPCGValueRange< float > GetDensityValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual FVector GetExtents
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual FBox GetLocalBounds
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual FVector GetLocalCenter
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual FBox GetLocalDensityBounds
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual FVector GetLocalSize
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual int64 GetMetadataEntry
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual TPCGValueRange< int64 > GetMetadataEntryValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual int32 GetNumPoints() |
Data/PCGBasePointData.h | ||
virtual const PCGPointOctree::FPointOctree & GetPointOctree() |
Data/PCGBasePointData.h | ||
virtual FVector GetScaledExtents
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual FVector GetScaledLocalSize
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual int32 GetSeed
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual TPCGValueRange< int32 > GetSeedValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual float GetSteepness
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual TPCGValueRange< float > GetSteepnessValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual const FTransform & GetTransform
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual TArray< FTransform > GetTransformsCopy() |
Data/PCGBasePointData.h | ||
virtual TPCGValueRange< FTransform > GetTransformValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
TPCGValueRange< T > GetValueRange
(
EPCGPointNativeProperties NativeProperty, |
GetValueRange / GetConstValueRange / Get*ValueRange / GetConst*ValueRange | Data/PCGBasePointData.h | |
void InitializeFromActor
(
AActor* InActor, |
Initializes a single point based on the given actor | Data/PCGBasePointData.h | |
bool IsEmpty() |
Data/PCGBasePointData.h | ||
virtual bool IsPointOctreeDirty () |
Get the dirty status of the Octree. | Data/PCGBasePointData.h | |
virtual bool IsValidRef
(
const PCGPointOctree::FPointRef& InPointRef |
Data/PCGBasePointData.h | ||
virtual void MoveRange
(
int32 RangeStartIndex, |
Data/PCGBasePointData.h | ||
virtual bool ProjectPoint
(
const FTransform& InTransform, |
Data/PCGBasePointData.h | ||
virtual void SetBoundsMax
(
const FVector& InBoundsMax |
Data/PCGBasePointData.h | ||
virtual void SetBoundsMin
(
const FVector& InBoundsMin |
Data/PCGBasePointData.h | ||
virtual void SetColor
(
const FVector4& InColor |
Data/PCGBasePointData.h | ||
virtual void SetDensity
(
float InDensity |
Data/PCGBasePointData.h | ||
virtual void SetExtents
(
const FVector& InExtents |
Data/PCGBasePointData.h | ||
virtual void SetLocalCenter
(
const FVector& InLocalCenter |
Data/PCGBasePointData.h | ||
virtual void SetMetadataEntry
(
int64 InMetadataEntry |
Data/PCGBasePointData.h | ||
virtual void SetNumPoints
(
int32 InNumPoints, |
Data/PCGBasePointData.h | ||
void SetPointsFrom
(
const UPCGBasePointData* InData, |
Data/PCGBasePointData.h | ||
virtual void SetSeed
(
int32 InSeed |
Data/PCGBasePointData.h | ||
virtual void SetSteepness
(
float InSteepness |
Data/PCGBasePointData.h | ||
virtual void SetTransform
(
const FTransform& InTransform |
Data/PCGBasePointData.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/PCGBasePointData.h | |
virtual int GetDimension() |
Returns the dimension of the data type, which has nothing to do with the dimension of its points | Data/PCGBasePointData.h | |
virtual bool ProjectPoint
(
const FTransform& InTransform, |
Project the query point onto this data, and sample point and metadata information at the projected position. | Data/PCGBasePointData.h | |
virtual bool SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | Data/PCGBasePointData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGBasePointData.h | |
virtual void Flatten() |
Make a pass on Metadata to flatten parenting and only keep entries used by points. | Data/PCGBasePointData.h | |
virtual TArray< FPCGMetadataDomainID > GetAllSupportedMetadataDomainIDs () |
Returns all the supported domain for this data. | Data/PCGBasePointData.h | |
virtual EPCGDataType GetDataType() |
Data/PCGBasePointData.h | ||
virtual FPCGMetadataDomainID GetDefaultMetadataDomainID() |
Metadata specific | Data/PCGBasePointData.h | |
virtual FPCGMetadataDomainID GetMetadataDomainIDFromSelector
(
const FPCGAttributePropertySelector& InSelector |
Return the associated domain ID for a given domain name in the selector. | Data/PCGBasePointData.h | |
virtual bool SetDomainFromDomainID
(
const FPCGMetadataDomainID& InDomainID, |
Write the domain name into the selector associated with this domain ID. | Data/PCGBasePointData.h | |
virtual bool SupportsFullDataCrc() |
Whether the data distinguishes between regular crc and full crc | Data/PCGBasePointData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Data/PCGBasePointData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DirtyCache() |
Data/PCGBasePointData.h | ||
void RebuildOctree() |
Data/PCGBasePointData.h | ||
void RebuildOctreeIfNeeded() |
Data/PCGBasePointData.h | ||
void RecomputeBounds() |
Data/PCGBasePointData.h | ||
void RecomputeBoundsIfNeeded() |
Data/PCGBasePointData.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FPCGAttributeAccessorMethods GetPointAccessorMethods() |
Get the functions to the accessor factory. | Data/PCGBasePointData.h | |
static EPCGPointNativeProperties GetPropertiesToAllocateFromPointData
(
const TArray< const UPCGBasePointData* >& PointDatas |
Data/PCGBasePointData.h | ||
static bool NeedToAllocateSingleValueProperty
(
EPCGPointNativeProperties InProperty, |
Data/PCGBasePointData.h | ||
static void SetPoints
(
const UPCGBasePointData* From, |
Data/PCGBasePointData.h |