Timing policy access from c++ UMG _ UWidgetComponent

In above page you can see that “TimingPolicy” variable is protected so you can not access that from c++ code, so i assume there is a function to assign value to timing policy variable but i keep search and can not find that.

by the way you can assign value to “Timing Policy” from BP, but i wanna do it from c++ , cause that will be default value for all actors inherit from this actor.

if one have any idea for that, i will be happy to hear the answer.

We can access protected variable in derived class.

I’m looking for an answer too. I’m having this error if I try to access it: error C2065: 'TimingPolicty': undeclared identifier.