Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components > UActorComponent
- UActorComponent::GetCustomEditorPreviewWidget()
- UDisplayClusterICVFXCameraComponent::GetCustomEditorPreviewWidget()
- UComposureCompositingTargetComponent::GetCustomEditorPreviewWidget()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
Include | #include "Components/ActorComponent.h" |
virtual TSharedPtr< SWidget > GetCustomEditorPreviewWidget&40;&41;
Remarks
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().