Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Unreal Engine 4.X
  • Table Of Contents Toc
Mastering Unreal Engine 4.X

Mastering Unreal Engine 4.X

By : Muhammad A.Moniem
2.2 (6)
close
close
Mastering Unreal Engine 4.X

Mastering Unreal Engine 4.X

2.2 (6)
By: Muhammad A.Moniem

Overview of this book

Unreal Engine 4 has garnered a lot of attention in the gaming world because of its new and improved graphics and rendering engine, the physics simulator, particle generator, and more. This book is the ideal guide to help you leverage all these features to create state-of-the-art games that capture the eye of your audience. Inside we’ll explain advanced shaders and effects techniques and how you can implement them in your games. You’ll create custom lighting effects, use the physics simulator to add that extra edge to your games, and create customized game environments that look visually stunning using the rendering technique. You’ll find out how to use the new rendering engine efficiently, add amazing post-processing effects, and use data tables to create data-driven gameplay that is engaging and exciting. By the end of this book, you will be able to create professional games with stunning graphics using Unreal Engine 4!
Table of Contents (16 chapters)
close
close
15
Index

C++ data structure


Now creating a data structure will require us to create a new class, a new C++ class, and we can base it on anything. I like to use Actor as my base.

And as always, ladies first! Oh, I mean header files first. My header file setup is going to be simple, but it is very important, as much counts on that.

GameDataTables.h

Starting with the include statements as always, and as you can see, nothing fancy, but I have included a new header file that will allow me to manage the data table, which is DataTable.h:

#include "Engine/DataTable.h"
#include "GameFramework/Actor.h"
#include "GameDataTables.generated.h"

Then I started to directly build my structs. Remember the ones we created in blueprint? Now it is the time to create ones in C++. I built two structures using the word struct and the macro USTRUCT.

The first one is called FWeaponStruct, which is the type of FTableRowBase which is the equal of data table asset in a blueprint case. Within this struct, I've defined the same four...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Unreal Engine 4.X
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon