onNodeVisibilityChanged method

void onNodeVisibilityChanged(
  1. String nodeId,
  2. bool isVisible
)

Called when a node's visibility changes.

Override this method to respond when a tracked node becomes visible or hidden.

Implementation

void onNodeVisibilityChanged(String nodeId, bool isVisible) {
  // Default implementation does nothing
}