Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/IO
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGLoadDataAssetSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/IO/PCGLoadAssetElement.h |
| Include | #include "Elements/IO/PCGLoadAssetElement.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGLoadDataAssetSettings : public UPCGSettings
Remarks
Loader/Executor of PCG data assets
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSoftObjectPtr< UPCGDataAsset > | Asset | ||
| FLinearColor | AssetColor | Cached from the data when loaded. | |
| FText | AssetDescription | Cached from the data when loaded. | |
| FString | AssetName | Cached from the data when loaded. | |
| FPCGAttributePropertyInputSelector | AssetReferenceSelector | ||
| bool | bLoadFromInput | ||
| bool | bSynchronousLoad | By default, data table loading is asynchronous, can force it synchronous if needed. | |
| bool | bTagOutputsBasedOnOutputPins | Controls whether the data output from the loaded asset will be passed to the default pin with tags or on the proper pins. | |
| bool | bWarnIfNoAsset | ||
| FName | DataIndexTag | ||
| FName | InputIndexTag | ||
| TArray< FPCGPinProperties > | Pins |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetFromAsset
(
const FAssetData& InAsset |
||
| void |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| bool | Derived classes must implement this to communicate that they might have dynamic dependencies. | ||
| FPCGElementPtr | |||
| FString | Derived classes can implement this to expose additional information or context, such as an asset in use by the node. | ||
| EPCGChangeType | GetChangeTypeForProperty
(
const FName& InPropertyName |
Gets the change impact for a given property. | |
| EPCGDataType | GetCurrentPinTypes
(
const UPCGPin* InPin |
Returns the current pin types, which can either be the static types from the pin properties, or a dynamic type based on connected edges. | |
| FName | |||
| FText | |||
| FLinearColor | |||
| FText | |||
| void | GetStaticTrackedKeys
(
FPCGSelectionKeyToSettingsMap& OutKeysToSettings, |
Derived classes must implement this to communicate dependencies that are known statically. | |
| EPCGSettingsType | GetType () |
||
| bool | If the node has any dynamic pins that can change based on input or settings | ||
| bool | Display generated title line as primary title (example: BP nodes display the blueprint name as the primary title). | ||
| TArray< FPCGPinProperties > | Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | ||
| TArray< FPCGPinProperties > | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |