大约有 485 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0069 秒)
...户 • 2022-10-14 14:32 经过调试发现d3.js里面有不规范写法 获取文件扩展名应该统一调用接口 Laya.Utils.getFileExtension(url);但是源码中 写法是 url.substr(index, endIndex - index); 修改引擎之后 发现加载成功 但是模型变成黑色的了还得你们确...
来源: Laya_社区 发布时间: 20221013
... //初始化引擎 Laya.init(0,0); var Hls:any = Laya.Browser.window.Hls;//获取对Hls的引用。 var plyr:any = Laya.Browser.window.plyr;//获取对plyr的引用 //获取video对象,就是页面上命名为“player”的标签 var video:any = Laya.Browser.document.querySelector('#player'); if(...
来源: Laya3.0_文档 发布时间: 20251010
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...理引擎出错。 微信小游戏中访问带空格的文件出错 Browser获取的运行环境信息,太不准确了吧? ts项目,我在程序主入口声明了公共静态类,下面new出了一个对象,把他添加到舞台中出错。 vivo小游戏无法显示调试信息 laya 2.2.0...
来源: Laya_社区 发布时间: 20190618
...song 相关问题 unity导出粒子文件问题 请问有没有方法能够获取“鼠标是否处于按下状态”? 加载到舞台的3D模型不显示贴图 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ unity中的模型...
来源: Laya_社区 发布时间: 20180223
... 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
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
... 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
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513