USkeleton::SetPreviewMesh

Set the preview mesh for this asset

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/Skeleton.h

Include

#include "Animation/Skeleton.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/Skeleton.cpp

Syntax

virtual void SetPreviewMesh
(
    USkeletalMesh * PreviewMesh,
    bool bMarkAsDirty
)

Remarks

Set the preview mesh for this asset

Parameters

Parameter

Description

bMarkAsDirty

Passing true will call Modify() on the asset