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 |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeInfo | FPCGDataTypeInfoPoint | 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_AllocateProperties
(
int32 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 FPCGPointBoundsMax::ValueRange GetBoundsMaxValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual const FVector & GetBoundsMin
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual FPCGPointBoundsMin::ValueRange GetBoundsMinValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual const FVector4 & GetColor
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual FPCGPointColor::ValueRange GetColorValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual FPCGPointBoundsMax::ConstValueRange GetConstBoundsMaxValueRange() |
Data/PCGBasePointData.h | ||
virtual FPCGPointBoundsMin::ConstValueRange GetConstBoundsMinValueRange() |
Data/PCGBasePointData.h | ||
virtual FPCGPointColor::ConstValueRange GetConstColorValueRange() |
Data/PCGBasePointData.h | ||
virtual FPCGPointDensity::ConstValueRange GetConstDensityValueRange() |
Data/PCGBasePointData.h | ||
virtual FPCGPointMetadataEntry::ConstValueRange GetConstMetadataEntryValueRange() |
Data/PCGBasePointData.h | ||
virtual FPCGPointSeed::ConstValueRange GetConstSeedValueRange() |
Data/PCGBasePointData.h | ||
virtual FPCGPointSteepness::ConstValueRange GetConstSteepnessValueRange() |
Data/PCGBasePointData.h | ||
virtual FPCGPointTransform::ConstValueRange GetConstTransformValueRange() |
Data/PCGBasePointData.h | ||
TPCGPointNativeProperty< Property >::ConstValueRange GetConstValueRange () |
Data/PCGBasePointData.h | ||
TConstPCGValueRange< T > GetConstValueRange
(
EPCGPointNativeProperties NativeProperty |
Keeping for backward compatibility (prefer using enum template version) | Data/PCGBasePointData.h | |
virtual const float & GetDensity
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual FBoxSphereBounds GetDensityBounds
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual FPCGPointDensity::ValueRange 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 const int64 & GetMetadataEntry
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual FPCGPointMetadataEntry::ValueRange GetMetadataEntryValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual int32 GetNumPoints() |
Data/PCGBasePointData.h |
|
|
virtual const PCGPointOctree::FPointOctree & GetPointOctree() |
Data/PCGBasePointData.h | ||
const TPCGPointNativeProperty< Property >::Type & GetPointPropertyValue
(
int32 InPointIndex |
Data/PCGBasePointData.h | ||
virtual FVector GetScaledExtents
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual FVector GetScaledLocalSize
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual const int32 & GetSeed
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual FPCGPointSeed::ValueRange GetSeedValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual const float & GetSteepness
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual FPCGPointSteepness::ValueRange GetSteepnessValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
virtual const FTransform & GetTransform
(
int32 InPointIndex |
Data/PCGBasePointData.h |
|
|
virtual TArray< FTransform > GetTransformsCopy() |
Data/PCGBasePointData.h | ||
virtual FPCGPointTransform::ValueRange GetTransformValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
TPCGValueRange< T > GetValueRange
(
EPCGPointNativeProperties NativeProperty, |
Keeping for backward compatibility (prefer using enum template version) | Data/PCGBasePointData.h | |
TPCGPointNativeProperty< Property >::ValueRange GetValueRange
(
bool bAllocate |
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 SetPointPropertyValues
(
const typename TPCGPointNativeProperty< Property >::Type& InValue |
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 PRAGMA_DISABLE_DEPRECATION_WARNINGSEPCGDataType GetDataType() |
@todo_pcg To be deprecated when we switch to the new type | Data/PCGBasePointData.h | |
virtual const FPCGDataTypeBaseId & GetDataTypeId() |
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 TArray< FVector > GetBoundsMaxValuesFromRange
(
const FPCGPointInputRange& InputRange |
Data/PCGBasePointData.h |
|
|
static TArray< FVector > GetBoundsMinValuesFromRange
(
const FPCGPointInputRange& InputRange |
Data/PCGBasePointData.h |
|
|
static TArray< FVector4 > GetColorValuesFromRange
(
const FPCGPointInputRange& InputRange |
Data/PCGBasePointData.h |
|
|
static TArray< float > GetDensityValuesFromRange
(
const FPCGPointInputRange& InputRange |
Data/PCGBasePointData.h |
|
|
static TArray< int64 > GetMetadataEntryValuesFromRange
(
const FPCGPointInputRange& InputRange |
Data/PCGBasePointData.h |
|
|
static FPCGAttributeAccessorMethods GetPointAccessorMethods() |
Get the functions to the accessor factory. | Data/PCGBasePointData.h | |
static FPCGPoint GetPointFromRange
(
const FPCGPointInputRange& InputRange, |
Data/PCGBasePointData.h |
|
|
static EPCGPointNativeProperties GetPropertiesToAllocateFromPointData
(
const TArray< const UPCGBasePointData* >& PointDatas |
Data/PCGBasePointData.h | ||
static TArray< int32 > GetSeedValuesFromRange
(
const FPCGPointInputRange& InputRange |
Data/PCGBasePointData.h |
|
|
static TArray< float > GetSteepnessValuesFromRange
(
const FPCGPointInputRange& InputRange |
Data/PCGBasePointData.h |
|
|
static TArray< FTransform > GetTransformValuesFromRange
(
const FPCGPointInputRange& InputRange |
Data/PCGBasePointData.h |
|
|
static bool NeedToAllocateSingleValueProperty
(
const TArray< const UPCGBasePointData* >& PointDatas |
Data/PCGBasePointData.h | ||
static void SetBoundsMaxValuesOnRange
(
FPCGPointOutputRange& OutputRange, |
Data/PCGBasePointData.h |
|
|
static void SetBoundsMinValuesOnRange
(
FPCGPointOutputRange& OutputRange, |
Data/PCGBasePointData.h |
|
|
static void SetColorValuesOnRange
(
FPCGPointOutputRange& OutputRange, |
Data/PCGBasePointData.h |
|
|
static void SetDensityValuesOnRange
(
FPCGPointOutputRange& OutputRange, |
Data/PCGBasePointData.h |
|
|
static void SetMetadataEntryValuesOnRange
(
FPCGPointOutputRange& OutputRange, |
Data/PCGBasePointData.h |
|
|
static void SetPointOnRange
(
FPCGPointOutputRange& OutputRange, |
Data/PCGBasePointData.h |
|
|
static void SetPoints
(
const UPCGBasePointData* From, |
Data/PCGBasePointData.h | ||
static void SetSeedValuesOnRange
(
FPCGPointOutputRange& OutputRange, |
Data/PCGBasePointData.h |
|
|
static void SetSteepnessValuesOnRange
(
FPCGPointOutputRange& OutputRange, |
Data/PCGBasePointData.h |
|
|
static void SetTransformValuesOnRange
(
FPCGPointOutputRange& OutputRange, |
Data/PCGBasePointData.h |
|