Custom Icons in Unreal Engine 4

Custom icons in Unreal Engine 4.

It’s the little things that matter.

If you’re building your own custom actors and components in Unreal Engine 4, then at some point you’ll want to give them a nice icon instead of the default generic one. It’s actually pretty easy to do, but it took me quite a bit of digging since I couldn’t find a ready-made guide. It boils down to the following:

  • Create a SlateStyleSet
  • Set its ContentRoot and CoreContentRoot properly
  • Register SlateImageBrushes for your actor or component
  • Register your SlateStyleSet
  • Register your SlateStyleSet as an icon source

Continue reading

Achievement Unlocked: Host a Twitch Session

This Twitch session comes on the heels of releasing the Phonon 3D plugin for Unreal Engine 4. In the video, I go over how to get 3D audio up and running in a simple Blueprint project.

Note that at the end I get a little confused by the audio settings. For the record, I was right in the first instance: you can mix HRTF and panning in a single scene.

Thanks to @anishchandak and @LakulishAntani for all the great feedback before the live stream. Hoping to do more in the future!

Use ui-router Even if You Aren’t Routing

You should be using ui-router to organize your AngularJS application’s UI, even if you do not expose corresponding URLs. The name ui-router is misleading: its real power is organizing your UI into named, nested, or parallel views. The state concept offers a higher-level alternative to using ng-include and ng-controller, and is more suited to modeling large areas of the UI than custom directives.

Continue reading