Beispiel #1
0
  void paint(WebGLRenderingContext gl, Transform parentTransform, float parentAlpha) {
    if (!visible()) return;

    for (HtmlLayerGL child : impl.children) {
      child.paint(gl, localTransform(parentTransform), parentAlpha * alpha);
    }
  }