Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Editor.h |
| Include | #include "Editor.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/StaticMeshEdit.cpp |
void CreateModelFromStaticMesh
(
UModel * Model,
AStaticMeshActor * StaticMeshActor
)
Remarks
Converts a static mesh to a brush.
Creates a model from the triangles in a static mesh.
Parameters
| Name | Description |
|---|---|
| Model | [out] The target brush. Must be non-NULL. |
| StaticMeshActor | The source static mesh. Must be non-NULL. |