Why is it not allowed to extend SceneCaptureComponent2D?

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

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.

Many Thanks!