October 2016
Intermediate to advanced
452 pages
9h 47m
English
Canvas is a continuation of the simple HUD implemented within Unreal 3. While it isn't so commonly used within shipping games, mostly being replaced by Slate/UMG, it's simple to use, especially when you want to draw text or shapes to the screen. Canvas drawing is still used extensively by console commands used for debugging and performance analysis such as the stat game and other stat commands. Refer to Chapter 8, Integrating C++ and the Unreal Editor, for the recipe for creating your own console commands.
<Module>.build.cs file, and uncomment/add the following line:PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });GameMode called CustomHUDGameMode using the ...Read now
Unlock full access