Layout* tempLayout = Layout::create(); tempLayout->setBackGroundColorType(LayoutBackGroundColorType::LAYOUT_COLOR_SOLID); tempLayout->setBackGroundColor(Color3B(60, 60, 60)); tempLayout->setBackGroundColorOpacity(100); tempLayout->setSize(Size(DESIGN_RESOLUTION_X, DESIGN_RESOLUTION_Y)); this->addChild(tempLayout); ``` 上面的tempLayout在Win32上可以正常显示为半透明, 在Android上显示是不透明, Layout是不是有bug ? 或者还要设置其他参数?
刚刚发现不是Laytout的问题, 而是ClippingNode, 暂时先把 ClippingNode去了.