copyVisibilityInfo method

void copyVisibilityInfo (VisibilityInfo info)

This node get the visibility from info

Implementation

void copyVisibilityInfo(VisibilityInfo info) {
  if (info == null) return;
  visibilityBlocks = info.visibilityBlocks;
  nodeVisible = info.nodeVisible;

//2.5.3 20151120
// Node.prototype.copyVisibilityInfo = function(info) {
//     if (!info) {
//         return;
//     }
//     this.visibilityBlocks = info.visibilityBlocks;
//     this.nodeVisible = info.nodeVisible;
// };
}