Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop
Convert a static mesh into a dynamic mesh data.
| Name | UPCGStaticMeshToDynamicMeshSettings |
| Type | class |
| Header File | /Engine/Plugins/PCGInterops/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGStaticMeshToDynamicMeshElement.h |
| Include Path | #include "Elements/PCGStaticMeshToDynamicMeshElement.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGStaticMeshToDynamicMeshSettings : public UPCGDynamicMeshBaseSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGDynamicMeshBaseSettings → UPCGStaticMeshToDynamicMeshSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExtractMaterials | bool | Allows to extract materials from the static mesh and store them in the PCG Dynamic Mesh Data. | Elements/PCGStaticMeshToDynamicMeshElement.h |
|
| bSynchronousLoad | bool | Elements/PCGStaticMeshToDynamicMeshElement.h |
|
|
| OverrideMaterials | TArray< TSoftObjectPtr< UMaterialInterface > > | If it extracts materials, we can specify override materials. | Elements/PCGStaticMeshToDynamicMeshElement.h |
|
| RequestedLODIndex | int32 | Elements/PCGStaticMeshToDynamicMeshElement.h |
|
|
| RequestedLODType | EGeometryScriptLODType | LOD type to use when creating DynamicMesh from specified StaticMesh. | Elements/PCGStaticMeshToDynamicMeshElement.h |
|
| StaticMesh | TSoftObjectPtr< UStaticMesh > | Elements/PCGStaticMeshToDynamicMeshElement.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanDynamicallyTrackKeys() |
Elements/PCGStaticMeshToDynamicMeshElement.h | ||
virtual FName GetDefaultNodeName() |
Elements/PCGStaticMeshToDynamicMeshElement.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGStaticMeshToDynamicMeshElement.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGStaticMeshToDynamicMeshElement.h | ||
virtual void GetStaticTrackedKeys
(
FPCGSelectionKeyToSettingsMap& OutKeysToSettings, |
Elements/PCGStaticMeshToDynamicMeshElement.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGStaticMeshToDynamicMeshElement.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Elements/PCGStaticMeshToDynamicMeshElement.h | ||
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGStaticMeshToDynamicMeshElement.h |