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
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!
Gave a lunch and learn today on AngularJS with TypeScript. The talk covered a brief history of static typing (ECMA4, ActionScript), some contemporary projects (Flow, AtScript), and how Angular2.0’s default language is TypeScript. The second half is a brief tutorial on how to write services, controllers, and directives.
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-controller, and is more suited to modeling large areas of the UI than custom directives.