October 2016
Intermediate to advanced
452 pages
9h 47m
English
Custom editor windows are useful when you have a new tool with user-configurable settings, or want to display some information to people using your customized editor.
Be sure to have an editor module by following the recipe earlier in this chapter before you start.
Read through either the Creating new menu entries or Creating new toolbar buttons recipes so that you can create a button within the editor that will launch our new window.
TSharedRef<SWindow> CookbookWindow = SNew(SWindow) .Title(FText::FromString(TEXT("Cookbook Window"))) .ClientSize(FVector2D(800, 400)) .SupportsMaximize(false) .SupportsMinimize(false) [ SNew(SVerticalBox) +SVerticalBox::Slot() ...Read now
Unlock full access