Ejemplo n.º 1
0
  /**
   * For internal use only.
   *
   * @param surfacesPointer {@code &res.Surfaces}
   */
  void collectSurfaceDefs(long surfacesPointer) {

    // Not visible
    if (!visible) return;

    addSurfaceDef(nativePointer.get(), surfacesPointer);

    for (Entity child : children) {
      child.collectSurfaceDefs(surfacesPointer);
    }
  }