Bionic_Ape
(Bionic_Ape)
1
I want to create a custom behaviour for the SceneCaptureComponent2D. So I thought about extending it and create my own.
I can create it from the editor (Content Browser->Add New-> Create New C++). But it won’t compile.
I suspect it is because of the Engine API? I don’t really understand.
Cheers,
B
Daekesh
(Daekesh)
2
If you download the engine source, you can make it extendable if you change the following line:
class USceneCaptureComponent2D : public USceneCaptureComponent
to
class ENGINE_API USceneCaptureComponent2D : public USceneCaptureComponent
You may want to do similar things to the other capture classes.