IPersonaToolkit::SetPreviewMesh

Set the preview mesh, according to context (mesh, skeleton or animation etc.)

Windows
MacOS
Linux

References

Module

Persona

Header

/Engine/Source/Editor/Persona/Public/IPersonaToolkit.h

Include

#include "IPersonaToolkit.h"

Syntax

void SetPreviewMesh
(
    USkeletalMesh * InSkeletalMesh,
    bool bSetPreviewMeshInAsset
)

Remarks

Set the preview mesh, according to context (mesh, skeleton or animation etc.)

Parameters

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.

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