大约有 203 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
...? 请问laya有没有地图编辑器工具? 请问有没有方法能够获取“鼠标是否处于按下状态”? Tween如何实现无限循环改变alpha? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? 请...
来源: Laya_社区 发布时间: 20181020
...boolean 参数说明: textureId:纹理的 ID (可从 texture.bitmap.id 获取) largeTextureIndex:指定从哪个大纹理移除(-1 表示从所有大纹理移除) event:是否触发 Event.CHANGE 事件(默认 true) //使用示例 const texture = Laya.loader.getRes("resources/hero.png", Laya....
来源: Laya3.0_文档 发布时间: 20260131
...e): """ :param filepath: 接收要修改文档的路径 :param startprobe: 获取文本内容的起始探针 :param endprobe: 获取文本内容的结束探针 :param startoffset: 获取文本内容的起始偏移量 :param endoffset: 获取文本内容的结束偏移量 :param backuporiginalfile: ...
来源: Laya_社区 发布时间: 20170418
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...); function clickHandler(){ var url = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上...
来源: Laya2.0_文档 发布时间: 20210714
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...clickHandler():void{ var url:string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } } new Main; ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到...
来源: Laya2.0_文档 发布时间: 20210715
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...
来源: Laya3.0_文档 发布时间: 20251010