Module |
|
Header |
/Engine/Source/Editor/Persona/Public/IPersonaToolkit.h |
Include |
#include "IPersonaToolkit.h" |
void SetPreviewMesh
(
USkeletalMesh * InSkeletalMesh,
bool bSetPreviewMeshInAsset
)
Set the preview mesh, according to context (mesh, skeleton or animation etc.)
Parameter |
Description |
---|---|
InSkeletalMesh |
The mesh to set |
bSetPreviewMeshInAsset |
If true, the mesh will be written to the asset so it can be permanently saved. Otherwise the change is merely transient and will reset next time the editor is opened. |