Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UActorComponent
Description
If this component is set up to provide a preview window in editor (see GetEditorPreviewInfo), you can use this to customize the preview (to be something other than a world viewport). If this returns an empty pointer, then the preview will default to a viewport using the FMinimalViewInfo data from GetEditorPreviewInfo().
| Name | GetCustomEditorPreviewWidget |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
| Include Path | #include "Components/ActorComponent.h" |
virtual TSharedPtr < SWidget > GetCustomEditorPreviewWidget()