At the beginning i would like to sorry everyone for (maybe) doubling some threads by my post.
I am at the very start on my journey with Unreal Engine. I am in the middle of digging through all UE4 documentation, tutorials… etc.
But every time i am apprroaching some article or tutorial there is some kind of invisible mental wall which i cant go through.
So i decided to create this thread.
I would like to everyone who has same problems or (invisible wall) take part in it so every new person can benefit. Also mentors or experienced UE4 users can conifrm their knowledge.
First problem which i would to share is UCLASS macor problem.
u can read some this like:
The *UCLASS macro gives the UObject a reference to a UCLASS that describes its Unreal-based type.
Each UCLASS maintains one Object called the “class default Object”, or CDO for short.
The CDO is essentially a default “template” Object, generated by the class constructor and unmodified thereafter.
Both the UCLASS and the CDO can be retrieved for a given Object instance, though they should generally be considered read-only.
The UCLASS for an Object instance can get accessed at any time using the GetClass() function.
First sentence is cool. Next on is ok. Problem start appear in the third one.
Could someone explain me clearly… How macro works in this moment.What is this CDO ?
CDO is essentially a default object “template” Object, generated by (which?) class constructor.
Thats in advance for answering.