The UCLASS for an Object instance can be accessed at any time using the GetClass() function.Ī UCLASS contains a set of properties and functions that define the class. Both the UCLASS and the CDO can be retrieved for a given Object instance, although they should generally be considered read-only. The CDO is essentially a default 'template' Object, generated by the class constructor and unmodified thereafter. Each UCLASS maintains one Object called the Class Default Object(CDO). The UCLASS macro gives the UObject a reference to a UCLASS that describes its Unreal-based type. The UCLASS macro can be used to tag classes derived from UObject so that the UObject handling The base class for objects in Unreal is UObject. ![]() ![]() Unreal has a robust system for handling game objects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |