Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_StaticMeshFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshAssetFunctions.h |
| Include | #include "GeometryScript/MeshAssetFunctions.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"GeometryScript_AssetUtils"&41;&41;
class UGeometryScriptLibrary_StaticMeshFunctions : public UBlueprintFunctionLibrary
Remarks
Although the class name indicates StaticMeshFunctions, that was a naming mistake that is difficult to correct. This class is intended to serve as a generic asset utils function library. The naming issue is only visible at the C++ level. It is not visible in Python or BP.
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDynamicMesh * | CopyMeshFromSkeletalMesh
(
USkeletalMesh* FromSkeletalMeshAsset, |
Extracts a Dynamic Mesh from a Skeletal Mesh Asset. | |
| UDynamicMesh * | CopyMeshFromStaticMesh
(
UStaticMesh* FromStaticMeshAsset, |
Extracts a Dynamic Mesh from a Static Mesh Asset. | |
| UDynamicMesh * | CopyMeshToSkeletalMesh
(
UDynamicMesh* FromDynamicMesh, |
Updates a Skeletal Mesh Asset with new geometry and bone weights data from a Dynamic Mesh. | |
| UDynamicMesh * | CopyMeshToStaticMesh
(
UDynamicMesh* FromDynamicMesh, |
Updates a Static Mesh Asset with new geometry converted from a Dynamic Mesh. | |
| void | GetSectionMaterialListFromStaticMesh
(
UStaticMesh* FromStaticMeshAsset, |
Extracts the Material List and corresponding Material Indices from the specified LOD of the Static Mesh Asset. |