How to get PNG transparency in your material

If you try to drop a texture containing transparency onto an object, the material that is automatically generated is going to be incorrect. The same thing will happen if you try to create the material from the texture yourself. The reason is because you have to customize the material to understand that it is supposed Continue reading →

Passing an enum as a function parameter

I'm using Unreal Engine 4.20.2. Here's how I am successfully passing an enum to a function for use in a TArray. In my Item.h file: UENUM(BlueprintType) //"BlueprintType" is essential to include namespace EInventoryItem { enum Item { Nothing UMETA(DisplayName = "Nothing"), Battery UMETA(DisplayName = "Battery"), Thing UMETA(DisplayName = "Thing"), AnotherThing UMETA(DisplayName = "Another Thing"), RedBadge Continue reading →