Navigation
API > API/Runtime > API/Runtime/GeometryFramework > API/Runtime/GeometryFramework/Components > API/Runtime/GeometryFramework/Components/UDynamicMeshComponent
Warnings * If NewMesh is owned/Outer'd to another DynamicMeshComponent, a GLEO error may occur if that Component is serialized.
References
| Module | GeometryFramework |
| Header | /Engine/Source/Runtime/GeometryFramework/Public/Components/DynamicMeshComponent.h |
| Include | #include "Components/DynamicMeshComponent.h" |
| Source | /Engine/Source/Runtime/GeometryFramework/Private/Components/DynamicMeshComponent.cpp |
void SetDynamicMesh
&40;
UDynamicMesh &42; NewMesh
&41;
Remarks
Replace the current UDynamicMesh with a new one, and transfer ownership of NewMesh to this Component. This can be used to (eg) assign a UDynamicMesh created with NewObject in the Transient Package to this Component.
If NewMesh is owned/Outer'd to another DynamicMeshComponent, a GLEO error may occur if that Component is serialized.