Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation > UAnimationAsset > GetPreviewMesh
- IInterface_PreviewMeshProvider::GetPreviewMesh()
- UAnimationAsset::GetPreviewMesh()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimationAsset.h |
Include | #include "Animation/AnimationAsset.h" |
Source | /Engine/Source/Runtime/Engine/Private/AnimationAsset.cpp |
virtual USkeletalMesh &42; GetPreviewMesh
&40;
bool bFindIfNotSet
&41;
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 |