![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Interface_PreviewMeshProvider.h>
Inheritance diagram for IInterface_PreviewMeshProvider:Public Member Functions | |
| virtual void | SetPreviewMesh (USkeletalMesh *PreviewMesh, bool bMarkAsDirty=true)=0 |
| virtual USkeletalMesh * | GetPreviewMesh () const =0 |
| virtual USkeletalMesh * | GetPreviewMesh (bool bFindIfNotSet=false) |
An asset that can provide a preview skeletal mesh (for editing)
|
pure virtual |
Get the preview mesh for this asset
Implemented in UPhysicsAsset, UAnimationAsset, UAnimBlueprint, and USkeleton.
|
inlinevirtual |
Get the preview mesh for this asset, non const. Allows the preview mesh to be modified if it is somehow invalid
| bFindIfNotSet | If true, attempts to find a suitable asset if one is not found |
Reimplemented in UAnimationAsset, UAnimBlueprint, and USkeleton.
|
pure virtual |
Set the preview mesh for this asset
| bMarkAsDirty | Passing true will call Modify() on the asset |
Implemented in USkeleton, UPhysicsAsset, UAnimationAsset, and UAnimBlueprint.