Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Interfaces > API/Runtime/Engine/Interfaces/IInterface_PreviewMeshProvider > API/Runtime/Engine/Interfaces/IInterface_PreviewMeshProvider/GetPreviewMesh
- IInterface_PreviewMeshProvider::GetPreviewMesh()
- UAnimationAsset::GetPreviewMesh()
- UAnimBlueprint::GetPreviewMesh()
- USkeleton::GetPreviewMesh()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Interfaces/Interface_PreviewMeshProvider.h |
| Include | #include "Interfaces/Interface_PreviewMeshProvider.h" |
virtual USkeletalMesh * GetPreviewMesh
(
bool bFindIfNotSet
)
Remarks
Get the preview mesh for this asset, non const. Allows the preview mesh to be modified if it is somehow invalid
Parameters
| Name | Description |
|---|---|
| bFindIfNotSet | If true, attempts to find a suitable asset if one is not found |