Is there a way to dynamically hide EmotionFX actor?


I’m trying to implement some kind of fog of war. Is there a way to hide EmotionFX actor and do not render it? Basically I’m looking for C++ version of Actor -> Option -> Draw Character checkbox.

I’ve found the place where “draw character” is set in C++ (EditorActorComponent.cpp), but I do not understand how can I get to it from my component. From code it looks like there is no way.