Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/MeshSelectors
Inheritance Hierarchy
- UObject
- UPCGMeshSelectorBase
- UPCGMeshSelectorWeighted
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/MeshSelectors/PCGMeshSelectorWeighted.h |
| Include | #include "MeshSelectors/PCGMeshSelectorWeighted.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGMeshSelectorWeighted : public UPCGMeshSelectorBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseAttributeMaterialOverrides | ||
| TArray< FName > | MaterialOverrideAttributes | ||
| TArray< FPCGMeshSelectorWeightedEntry > | MeshEntries |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | PostDuplicate
(
bool bDuplicateForPIE |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | PostLoad () |
||
| void | Refresh MeshEntries display names |
Overridden from UPCGMeshSelectorBase
| Type | Name | Description | |
|---|---|---|---|
| bool | SelectInstances
(
FPCGStaticMeshSpawnerContext& Context, |