Hey, i have a Actor with an attached Camera. This Camera is own Class inherited of CameraComponent to set some Default variables for every camera we use. The Problem is the Setting of these values. if i create a Blueprint of that camera(like suggested in other questions aswers), i’m able to set these values. The Problem is that my Actor with the camera is using the c++ camera class and is not affected by the Default values of the BP-Camera. So is there a way that the actor uses the BP-Class or a way to set these values in the Editor ?
If you want to set variables that you created in C++ you have to declare it like:
UPROPERTY(EditAnywhere, BlueprintReadWrite …)
Have a look here: