I think this is the correct docs for that.
Hello everybody. I noticed in some community codes people using a meta specifier called AllowPrivateAccess this way:
UPROPERTY(BlueprintReadWrite, meta=(AllowPrivateAccess = "true"))
float YourPropertyName;
I searched in THIS LINK but I can’t find anything related in official documentation.
Thank you,
With AllowPrivateAccess, one can create classes with private C++ data (hidden from non friend classes) while allowing Blueprint derived classes to access it. I tend to use this to encapsulate data in C++ but make available in a read only manner in blueprint, reducing the number of getter and setter functions.