You could have reported that you’re messing with the engine of Unreal. Something else, USphereComponent
is not abstract. Technically speaking, she’s considered concrete because you can instantiate objects of this kind of data.
Well, the variable declaration USphereComponent * SphereComponent
already indicates what she is:
A pointer for an object of the type USphereComponent
.
USphereComponent
is a data type offered by engine unreal, as well as char
, int
, float
and double
sane types of primitive data offered by the C/C language++.
In fact, new types of data (structs and classes) of the C/C++ language can be created from one or more variables of the primitive data types (which you already know).
To know which variables and methods are encapsulated within USphereComponent
you should consult the API documentation (Application Programming Interface) of Unreal Engine. This is a fairly common practice when using an API we know little about: IDE to write source code positioned on one side of the screen, browser to view the API documentation on the other.
If none of this made any sense, start by investigating what is a pointer, afterward what is dynamic memory allocation, and finally, what are classes, to feel more comfortable programming in C++ and using other people’s Apis.
Take a look at [tour]. You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? You need something to be improved?
– Maniero