CreateModelFromStaticMesh

Converts a static mesh to a brush. Creates a model from the triangles in a static mesh.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Editor.h

Include

#include "Editor.h"

Source

/Engine/Source/Editor/UnrealEd/Private/StaticMeshEdit.cpp

Syntax

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

Parameter

Description

Model

[out] The target brush. Must be non-NULL.

StaticMeshActor

The source static mesh. Must be non-NULL.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss