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

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

131. 请问怎么实现按钮过度效果? [ 53%]

...? 请问laya有没有地图编辑器工具? 请问有没有方法能够获取“鼠标是否处于按下状态”? Tween如何实现无限循环改变alpha? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? 请...

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

132. 动态图集 · LayaAir3.4 · 引擎文档 · LAYABOX [ 52%]

...boolean 参数说明: textureId:纹理的 ID (可从 texture.bitmap.id 获取) largeTextureIndex:指定从哪个大纹理移除(-1 表示从所有大纹理移除) event:是否触发 Event.CHANGE 事件(默认 true) //使用示例 const texture = Laya.loader.getRes("resources/hero.png", Laya....

来源: Laya3.0_文档 发布时间: 20260131

133. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 52%]

...e): """ :param filepath: 接收要修改文档的路径 :param startprobe: 获取文本内容的起始探针 :param endprobe: 获取文本内容的结束探针 :param startoffset: 获取文本内容的起始偏移量 :param endoffset: 获取文本内容的结束偏移量 :param backuporiginalfile: ...

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

134. laya.physics.joint.JointBase_API3.0 [ 50%]

... 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

135. laya.d3.core.MeshFilter_API3.0 [ 50%]

... 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

136. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 49%]

...); function clickHandler(){ var url = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上...

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

137. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 48%]

... 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

138. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 48%]

...clickHandler():void{ var url:string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } } new Main; ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到...

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

139. laya.d3.physics.PhysicsComponent_API3.0 [ 48%]

... 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

140. 精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...

来源: Laya3.0_文档 发布时间: 20251010