The documentation is correct, but the issue is you were trying to call the private (internal) function of SetVisibility, but you needed to use the public SetVisibility function like you are now using (second parameter should be true or false only, EVisibilityPropagation as the second parameter is for the private function only).
2 Likes