Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop
Convert a static/skeletal mesh into a dynamic mesh data.
| Name | UPCGMeshToDynamicMeshSettings |
| Type | class |
| Header File | /Engine/Plugins/PCGInterops/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshToDynamicMeshElement.h |
| Include Path | #include "Elements/PCGMeshToDynamicMeshElement.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGMeshToDynamicMeshSettings : public UPCGDynamicMeshBaseSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGDynamicMeshBaseSettings → UPCGMeshToDynamicMeshSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExtractMaterials | bool | Allows to extract materials from the static/skeletal mesh and store them in the PCG Dynamic Mesh Data. | Elements/PCGMeshToDynamicMeshElement.h |
|
| bSynchronousLoad | bool | Elements/PCGMeshToDynamicMeshElement.h |
|
|
| Mesh | TSoftObjectPtr< UObject > | Elements/PCGMeshToDynamicMeshElement.h |
|
|
| OverrideMaterials | TArray< TSoftObjectPtr< UMaterialInterface > > | If it extracts materials, we can specify override materials. | Elements/PCGMeshToDynamicMeshElement.h |
|
| RequestedLODIndex | int32 | Elements/PCGMeshToDynamicMeshElement.h |
|
|
| RequestedLODType | EGeometryScriptLODType | LOD type to use when creating DynamicMesh from specified StaticMesh/SkeletalMesh. | Elements/PCGMeshToDynamicMeshElement.h |
|
| StaticMesh | TSoftObjectPtr< UStaticMesh > | Elements/PCGMeshToDynamicMeshElement.h |