Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGStaticMeshSpawnerSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGStaticMeshSpawner.h |
| Include | #include "Elements/PCGStaticMeshSpawner.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural), Meta=(prioritizeCategories="Settings"))
class UPCGStaticMeshSpawnerSettings : public UPCGSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bApplyMeshBoundsToPoints | Sets the BoundsMin and BoundsMax attributes of each point to reflect the StaticMesh spawned at its location | |
| bool | bSilenceOverrideAttributeNotFoundErrors | Opt-in option to silence errors when the property override attributes are not found. | |
| bool | bSynchronousLoad | Meshes/Materials will be synchronously loaded before spawning instead of asynchronously. | |
| TObjectPtr< UPCGInstanceDataPackerBase > | InstanceDataPackerParameters | ||
| TSubclassOf< UPCGInstanceDataPackerBase > | InstanceDataPackerType | Defines the method of custom data packing for spawned (H)ISMCs | |
| TObjectPtr< UPCGMeshSelectorBase > | MeshSelectorParameters | ||
| TSubclassOf< UPCGMeshSelectorBase > | MeshSelectorType | Defines the method of mesh selection per input data | |
| FName | OutAttributeName | Attribute name to store mesh SoftObjectPaths inside if the output pin is connected. | |
| TArray< FName > | PostProcessFunctionNames | Specify a list of functions to be called on the target actor after instances are spawned. | |
| TArray< FPCGObjectPropertyOverrideDescription > | StaticMeshComponentPropertyOverrides | Map an attribute directly to an ISM Descriptor property, the value of which will be overriden when generated. | |
| TSoftObjectPtr< AActor > | TargetActor |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPCGStaticMeshSpawnerSettings
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | SetInstancePackerType
(
TSubclassOf< UPCGInstanceDataPackerBase > InInstancePackerType |
||
| void | SetMeshSelectorType
(
TSubclassOf< UPCGMeshSelectorBase > InMeshSelectorType |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyDeprecation
(
UPCGNode* InOutNode |
Any final migration/recovery that can be done after pins are finalized. | |
| bool | CanEditChange
(
const FProperty* InProperty |
Passthrough for the simpler method, to avoid modifying the child settings already overriding this method. | |
| FPCGElementPtr | |||
| FName | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| 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 |
||
| void | PostLoad () |