Variable Types in Unreal - Unreal Blueprints Tutorial 10

Опубликовано: 28 Сентябрь 2024
на канале: ChidresTechTutorials
275
11

Variable Types in Unreal - Unreal Blueprints Tutorial 10

Variable Types in Blueprint:
- indicates the type of data a variable can store.

Ex: Game:
playerScore= 10; // playerScore must be Integer type of variable
gravity =-9.8; // gravity must be Float type of variable
playerName="Manjunath" // playerName must be String type of variable
isGameOver=true; // isGameOver must be Boolean type of variable


Types of Variable types:
- Unreal Engine provides rich set of variable types to handle different types of data

Demo: Understand with creating and initializing variables of different types

Boolean:
- indicates conditional result
- has two values true and false
- displayed in Maroon color
Ex: isGameOver, isPlayerOnGround

Byte:
- indicates 1 byte unsigned integer
- has values between 0 and 255
- displayed in Sherpa Blue color
Ex: playerHealth

Integer:
- indicates 4 bytes signed integer
- has values between −2,147,483,648 and 2,147,483,647
- displayed in Sea Green color
Ex: playerScore

Integer64:
- indicates 8 bytes signed integer
- has values between −9,223,372,036,854,775,808 and 9,223,372,036,854,775,807
- displayed in Moss Green color
Ex: playerScore

Float:
- indicates 8 bytes signed floating point number
- has values between −9,223,372,036,854,775,808.0 and 9,223,372,036,854,775,807.0
- displayed in Yellow Green color
Ex: worldGravity, playerSpeed

String, Text, Name
- indicate sequence of alphanumeric characters

- use String for any generic String operations.
- use Text to display anything in UI.
- use Name to refer any Actor
- String displayed in Magenta color
- Text displayed in Pink color
- Name displayed in Mauve color
Ex: playerName

Vector:
- indicates set of 3 Numbers
- displayed in Gold color
Ex: used to set Location or Scale of an Actor

Rotator:
- indicates set of 3 numbers representing rotation of an object
- displayed in Corn Flower Blue color
Ex: used to set Rotation of an Actor

Transform:
- indicates transform of an object
- displayed in Orange color
Ex: used to set Transform of an Actor

Structure:
- indicates collection of heterogeneous data elements
- displayed in Sherpa Blue color
Ex: used represent any Mathematical structures (Point, Line, Rectangle, Oval etc.)

Object:
- indicates reference to any blueprint object
- displayed in Cyan Blue or Purple Blue color
Ex: used to store reference to any Actor

Enumeration:
- indicates collection of enumerated data elements
- displayed in Dark Green color
Ex: meshType

=========================================

Follow the link for next video:
   • Operators in Unreal - Unreal Blueprin...  

Follow the link for previous video:
   • Variables in Unreal - Unreal Blueprin...  

=========================================

Unreal Engine Blueprints Tutorials:-
   • Unreal Blueprints Tutorials  

=========================================
Watch My Other Useful Tutorials:-

Unreal Engine Tutorials:-
   • Unreal Engine Tutorials  

Unreal Engine Live Lessons:-
   • Unreal Engine Live Sessions  

=========================================

HI, I am Manjunath Chidre and I'm an Indian born. I make video tutorials on Computer Science, Information Technology, Animation, VFX, Multimedia, & Gaming courses. Essentially, I set my goal to help students around the world; to learn at free of cost; through my educational YouTube channel Chidre'sTechTutorials.

=========================================

Every video on my channel is made with Love and Hard work, So don't forget to Like, Comment & Share.
Please do Subscribe, Hit the bell icon & Enjoy Learning. It's FREE.

=========================================

Subscribe to our YouTube channel:-
   / chidrestechtutorials  

Join as Member of our YouTube channel:-
https://www.youtube.com/chidrestechtu...

Become our Patron:-
  / chidrestechtutorials  

Visit our Website:-
https://www.chidrestechtutorials.com

Download our Notes from Instamojo:-
https://chidrestechtutorials.myinstam...

Buy our Products on Spring:-
https://chidres-tech-tutorials.creato...

=========================================
Follow Us:-

Google My Business:-
https://chidrestechtutorials.business...

Google Blog:-
http://manjunathchidre.blogspot.com

LinkedIn:-
  / chidrestechtutorials  

Facebook:-
  / chidrestechtutorials  

Twitter:-
  / manjunathchidre  

Tumblr:-
  / chidrestechtutorials  

Pinterest:-
  / chidrestechtutorials  

=========================================
Hash Tags:-
#ChidresTechTutorials #UnrealEngine #Gamedevelopment #Programming #LearnUnrealEngine #GameDesign #GameDev #GameDevelopment #VideoTutorials #GameProgramming #VideoGames #Coding #Gaming