Navigation
API > API/Editor > API/Editor/Persona > API/Editor/Persona/IPersonaToolkit
References
| Module | Persona |
| Header | /Engine/Source/Editor/Persona/Public/IPersonaToolkit.h |
| Include | #include "IPersonaToolkit.h" |
void SetPreviewMesh
&40;
USkeletalMesh &42; InSkeletalMesh,
bool bSetPreviewMeshInAsset
&41;
Remarks
Set the preview mesh, according to context (mesh, skeleton or animation etc.) Note that this sets the mesh in the asset and in the viewport (and may re-open the asset editor to apply this).
Parameters
| Name | 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. |