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

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

781. Laya怎么使用雪碧图(spritesheet)? [ 60%]

... u:String = s.substr(0, s.length - 4);//去掉.swf后缀 var o1:Object = { url:u + "/sheet.js?v=" + config.version, type:ResLoader.TXT, size:1}; var o2:Object = { url:u + "/sheet.png?v=" + config.version, type:ResLoader.BMD, size:1}; b.push(o1); b.push(o2); } App.loader.loadAssets(b, new Handler(onL...

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

782. 移动端Laya.VideoTexture播放视频纹理会出现卡顿情况~如何解决? [ 60%]

...道是要正式发布出小程序才行? 追命 • 2023-08-07 12:07 var url = "https://**************.mp4"(MP4后缀,写完整链接地址被吞了) Laya.loader.load(url, Laya.Loader.VIDEO).then((res: Laya.VideoTexture) => { console.log("==========>", res); }); 我...

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

783. laya.ui.ScaleBox_API3.0 [ 60%]

...ex Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnab...

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

784. laya.ui.Box_API3.0 [ 60%]

...ex Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnab...

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

785. laya.ui.AdvImage_API3.0 [ 60%]

...ex Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled disp...

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

786. 使用百度地图显示当前位置(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 60%]

...始之前需要在index.html中引入百度地图的脚本文件,这个url在百度地图的官方网站可以免费获取到。演示中使用的url是[http://api.map.baidu.com/api?v=2.0&ak=LIhOlvWfdiPYMCsK5wsqlFQD8wW4Bfy6](http://api.map.baidu.com/api?v=2.0&ak=LIhOlvWfdiPYMCsK5wsqlFQD8wW4Bfy6) #...

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

787. laya.d3.core.light.DirectionLight [ 60%]

...Sprite transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String[read-only] 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  DirectionLight() 创建一个 DirectionLight 实例。 DirectionLight...

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

788. laya.ui.OpenDataContextView_API3.0 [ 60%]

...ex Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataS...

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

789. laya.ui.Panel_API3.0 [ 60%]

...ex Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components content customRe...

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

790. laya.ui.LayoutBox_API3.0 [ 60%]

...ex Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRend...

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