• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0008 秒)

1. Sprite-新手引导 [ 100%]

...rawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000"); // 绘制一个圆形区域,利用叠加模式,从遮罩区域抠出可交互区 interactionArea = new Sprite(); guideContainer.addChild(interactionArea); // 设置叠加模式 interactionArea.blendMode = "destination-out"; // 设置点...

来源: Laya2.0_示例 发布时间: 20240930