Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGDataFromActorSettings
- UPCGGetLandscapeSettings
- UPCGGetPrimitiveSettings
- UPCGGetSplineSettings
- UPCGGetVolumeSettings
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/PCGDataFromActor.h |
| Include | #include "Elements/PCGDataFromActor.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGDataFromActorSettings : public UPCGSettings
Remarks
Builds a collection of PCG-compatible data from the selected actors.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FPCGActorSelectorSettings | ActorSelector | ||
| bool | bDisplayModeSettings | This can be set false by inheriting nodes to hide the 'Mode' property. | |
| bool | bMergeSinglePointData | ||
| bool | bTrackActorsOnlyWithinBounds | If this is checked, found actors that are outside component bounds will not trigger a refresh. | |
| TArray< FName > | ExpectedPins | ||
| EPCGGetDataFromActorMode | Mode | ||
| FName | PropertyName |
Functions
| Type | Name | Description | |
|---|---|---|---|
| EPCGDataType | Override this to filter what kinds of data should be retrieved from the actor(s). | ||
| TSubclassOf< AActor > | Override this to change the default value the selector will revert to when changing the actor selection type |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| FName | Derived classes can implement this to expose additional name information in the logs | ||
| FPCGElementPtr | |||
| 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 | |||
| FText | |||
| void | GetTrackedActorKeys
(
FPCGActorSelectionKeyToSettingsMap& OutKeysToSettings, |
Derived classes must implement this to communicate dependencies on external actors | |
| EPCGSettingsType | GetType () |
||
| bool | If the node has any dynamic pins that can change based on input or settings | ||
| 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 > |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |