Hello,
I’m having some trouble trying to pass a pointer to const data in a BlueprintImplementableEvent, when I compile it and implement it in a blueprint it doesn’t prevent from modifying the const pointed object.
UFUNCTION(BlueprintImplementableEvent, meta = (BlueprintProtected = "true", DisplayName = "Function Initializer"))
void FunctionInitializer(const UVectorFieldEditable* VectorField);
When I implement it in a blueprint instance is possible to call setter for the object variables without any error.
How can I declare this function in c++ to make the VectorField parameter readonly in blueprints?
Thanks