UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IInterface_PreviewMeshProvider Class Referenceabstract

#include <Interface_PreviewMeshProvider.h>

+ Inheritance diagram for IInterface_PreviewMeshProvider:

Public Member Functions

virtual void SetPreviewMesh (USkeletalMesh *PreviewMesh, bool bMarkAsDirty=true)=0
 
virtual USkeletalMeshGetPreviewMesh () const =0
 
virtual USkeletalMeshGetPreviewMesh (bool bFindIfNotSet=false)
 

Detailed Description

An asset that can provide a preview skeletal mesh (for editing)

Member Function Documentation

◆ GetPreviewMesh() [1/2]

virtual USkeletalMesh * IInterface_PreviewMeshProvider::GetPreviewMesh ( ) const
pure virtual

Get the preview mesh for this asset

Implemented in UPhysicsAsset, UAnimationAsset, UAnimBlueprint, and USkeleton.

◆ GetPreviewMesh() [2/2]

virtual USkeletalMesh * IInterface_PreviewMeshProvider::GetPreviewMesh ( bool  bFindIfNotSet = false)
inlinevirtual

Get the preview mesh for this asset, non const. Allows the preview mesh to be modified if it is somehow invalid

Parameters
bFindIfNotSetIf true, attempts to find a suitable asset if one is not found

Reimplemented in UAnimationAsset, UAnimBlueprint, and USkeleton.

◆ SetPreviewMesh()

virtual void IInterface_PreviewMeshProvider::SetPreviewMesh ( USkeletalMesh PreviewMesh,
bool  bMarkAsDirty = true 
)
pure virtual

Set the preview mesh for this asset

Parameters
bMarkAsDirtyPassing true will call Modify() on the asset

Implemented in USkeleton, UPhysicsAsset, UAnimationAsset, and UAnimBlueprint.


The documentation for this class was generated from the following file: