Navigation
API > API/Plugins > API/Plugins/PCG
Class to hold execution parameters that will be consumed in nodes of the graph
| Name | UPCGParamData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGParamData.h |
| Include Path | #include "PCGParamData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural), DisplayName="PCGAttribute Set")
class UPCGParamData : public UPCGData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGParamData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGParamData
(
const FObjectInitializer& ObjectInitializer |
PCGParamData.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeInfo | FPCGDataTypeInfoParam | PCGParamData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasCachedLastSelector | bool | Cache to keep track of the latest attribute manipulated on this data. | PCGParamData.h | |
| CachedLastSelector | FPCGAttributePropertyInputSelector | PCGParamData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGParamData * FilterParamsByKey
(
FPCGContext* Context, |
PCGParamData.h | ||
UPCGParamData * FilterParamsByKey
(
int64 InKey |
PCGParamData.h | ||
UPCGParamData * FilterParamsByName
(
const FName& InName |
PCGParamData.h | ||
UPCGParamData * FilterParamsByName
(
FPCGContext* Context, |
PCGParamData.h | ||
int64 FindMetadataKey
(
const FName& InName |
Returns the entry for the given name | PCGParamData.h |
|
int64 FindOrAddMetadataKey
(
const FName& InName |
Creates an entry for the given name, if not already added | PCGParamData.h |
|
UPCGParamData * K2_FilterParamsByKey
(
int64 InKey |
PCGParamData.h |
|
|
UPCGParamData * K2_FilterParamsByName
(
const FName& InName |
Creates a new params that keeps only a given key/name | PCGParamData.h |
|
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | PCGParamData.h | |
virtual UPCGParamData * DuplicateData
(
FPCGContext* Context, |
Return a copy of the data, with Metadata inheritence for spatial data. | PCGParamData.h | |
virtual TArray< FPCGMetadataDomainID > GetAllSupportedMetadataDomainIDs () |
Returns all the supported domain for this data. | PCGParamData.h | |
virtual FPCGAttributePropertyInputSelector GetCachedLastSelector() |
Returns the cached last selector. Used to know how to convert `@Last_ in an attribute selector. | PCGParamData.h | |
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGSEPCGDataType GetDataType() |
@todo_pcg To be deprecated when we switch to the new type | PCGParamData.h | |
virtual const FPCGDataTypeBaseId & GetDataTypeId() |
PCGParamData.h | ||
virtual FPCGMetadataDomainID GetDefaultMetadataDomainID () |
Returns the default domain for this data. | PCGParamData.h | |
virtual FPCGMetadataDomainID GetMetadataDomainIDFromSelector
(
const FPCGAttributePropertySelector& InSelector |
Return the associated domain ID for a given domain name in the selector. | PCGParamData.h | |
virtual bool HasCachedLastSelector () |
Returns true if the data has a cached last selector. | PCGParamData.h | |
virtual bool MetadataDomainSupportsParenting
(
const FPCGMetadataDomainID& InDomainID |
Check if parenting is possible for this domain, if not, any initialization will result to a copy. | PCGParamData.h | |
virtual bool SetDomainFromDomainID
(
const FPCGMetadataDomainID& InDomainID, |
Write the domain name into the selector associated with this domain ID. | PCGParamData.h | |
virtual void SetLastSelector
(
const FPCGAttributePropertySelector& InSelector |
Set the last selector used to modify an attribute. | PCGParamData.h |