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

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

941. HTML文本 · LayaAir3.0文档 · LAYABOX [ 44%]

...ze、Color、下划线3.2 同一个文本中设置字体、颜色不同3.3 获取html文本的实际宽高(contextWidth、contextHeight)3.4 设置文本的水平居中对齐(align需要和width配合使用)3.5 实现超链接3.6 实现html页面跳转3.7 为HtmlDivElement设置行间距,leadin...

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

942. laya.effect.EffectBase_API3.0 [ 44%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/c...

来源: Laya3.0_api 发布时间: 20231115

943. 分享个用美术资源做位图文本的方法。。。 [ 44%]

...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分享:打地鼠 AS、JS、TS版本 Demo! 文本如何自动换行 分享:适配LayaAir版本的PureMV...

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

944. 3D网格添加刚体后设置欧拉角出现位置错误 [ 42%]

...宽高和点击区域? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 怎么讲layaAir里的显示...

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

945. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 42%]

...预加载资源都加载完毕的时候执行的函数//从资源来表中获取加载好的background图片纹理 var texture = Laya.loader.getRes('res/background.png'); //创建一个bg显示对象 var bg = new laya.display.Sprite(); //将上面的texture纹理绘制到bg图像里面 bg.graphics.d...

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

946. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 41%]

...this.index].x; this._position.z = this.resPath[this.index++].y; //HeightMap获取高度数据 this._position.y = this.terrainSprite.getHeight(this._position.x, this._position.z); if (isNaN(this._position.y)) { this._position.y = this.moveSprite3D.transform.position.y; } this._tarPosition.x = this._p...

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

947. localRotationEulerY旋转位置错误 [ 41%]

... not attach to main target Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大...

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

948. LayaTree v1.0.5版本更新(2021.11.17) [ 39%]

...鱼 赞同来自: 不管是用文件地址还是 网页地址都是不能获取到游戏  用的是LAYA 2.10 2022-04-08 0 1 分享 微博 QZONE 微信 xf5464 赞同来自: 能不能在属性面板里加一个设置drawcallOptimize的选项,跟设置visible和active一样 2022-08-02 0 0 分享 ...

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

949. laya.effect.FadeOut_API3.0 [ 37%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

来源: Laya3.0_api 发布时间: 20231115

950. laya.effect.FadeIn_API3.0 [ 37%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

来源: Laya3.0_api 发布时间: 20231115