_outerClipper->setStencil( target ); //target是背景
_outerClipper->addChild( holesClipper ); //holesClipper是第二层
holesClipper->addChild( target );
holesClipper->addChild( _holes ); // _holes是效果节点
holesClipper->setStencil( _holesStencil); //真正的镂空处
_holesStencil->addChild( holeStencil ); //holeStencil是
时间: 2024-12-23 07:15:06