Navigation
API > API/Editor > API/Editor/UnrealEd
Description
Creating a static mesh from an array of triangles.
Creates a static mesh object from raw triangle data.
| Name | CreateStaticMesh |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Editor.h |
| Include Path | #include "Editor.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/StaticMeshEdit.cpp |
UStaticMesh * CreateStaticMesh
(
struct FMeshDescription & RawMesh,
TArray < FStaticMaterial > & Materials,
UObject * Outer,
FName Name
)