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

大约有 499 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)

171. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 67%]

...ough为true,而后设置了node2的子节点0(GWidget的实例)纹理texture为new Laya.Texture。设置纹理之后,mouseThrough的设置就无效了,可以参考Laya.Sprite的mouseThrogh的注释,如下所示: /** * @en For non-UI component display object nodes (container objects or ...

来源: Laya_社区 发布时间: 20250825

172. laya.ani.bone.Skeleton [ 67%]

...rite  templet : Templet[read-only] 得到动画模板的引用 Skeleton texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

来源: Laya2.0_api 发布时间: 20190513

173. 3D文本内容是否可以清除 重新书写 [ 67%]

...llText("-10000", 100, 50, 200);//有填充cxt.font="bold 60px 宋体"; let texture2D = new Laya.Texture2D(256, 256);   //=====================这里如果在填充新的文字 会有所有的文字信息 ======================================== cxt.fillText("-200", 100, 50, 200);//有填充cxt.font...

来源: Laya_社区 发布时间: 20191211

174. [LayaAir3]3D场景里面鼠标感应区域 3.2.1跟3.3不同 [ 67%]

...查了一下,发现您的使用错误。   在您的示例中,RenderTexture的渲染纹理配置宽高是固定的1334和750,然而你给渲染纹理的节点宽高设置的是舞台的宽高。导致了如果因为适配模式修改舞台宽高后,不同的屏幕比例和渲染纹理相差...

来源: Laya_社区 发布时间: 20250109

175. laya.ui.Radio [ 67%]

...omponent text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

176. laya.ui.ProgressBar [ 67%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

177. sharedCanvas现在在laya里面不能用了吗???急 在线等 [ 67%]

...制 // layout.graphics.clear(false); //设置大小 var canvas = new Laya.Texture(sharedCanvas); canvas.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 sp.graphics.drawTexture(canvas); layout.addChild(sp); }   /** * 清除开放域数据 */ function clearDrawOpenData(layout:...

来源: Laya_社区 发布时间: 20190328

178. laya.display.AnimationPlayerBase [ 67%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

179. laya.d3.core.scene.BaseScene [ 67%]

...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170422

180. 设置滤镜(TypeScript-LayaAir基础篇(TS)-位图) [ 66%]

...; import Stage = Laya.Stage; import ColorFilter = Laya.ColorFilter; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Main { private ApePath: string = "../../res/apes/monkey2.png"; private apeTexture: Texture; constru...

来源: Laya2.0_文档 发布时间: 20210715