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

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

1441. 个人笔记:失焦或静音状态下播放背景音乐无效的解决方案 [ 75%]

...RL.formatURL(url); if (url!=SoundManager._tMusic){ if (Render.isConchApp){ var ext=Utils.getFileExtension(url); if (ext !="wav" && ext !="ogg"){ alert("The sound only supports wav or ogg format,for optimal performance reason,please refer to the official website document."); return null; } } ...

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

1442. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 75%]

..., this, onLoaded); } private function onLoaded():void { //实例UI界面 //var testView:TestView = new TestView(); //Laya.stage.addChild(testView); // //return; Laya.timer.once(3000, this, function():void{ var sprite:Sprite = new Sprite(); sprite.pos(0, 0); var texture:Texture = new Texture(Browser....

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

1443. laya.d3.math.Ray [ 75%]

...tor3) 创建一个 Ray 实例。 RayProperty Detaildirectionpropertypublic var direction:Vector3方向originproperty public var origin:Vector3原点Constructor DetailRay()Constructorpublic function Ray(origin:Vector3, direction:Vector3) 创建一个 Ray 实例。 Parameters origin:Vector3 — 射...

来源: laya_api 发布时间: 20170929

1444. laya.ani.bone.DrawOrderData [ 75%]

...d By  DrawOrderData()DrawOrderDataProperty DetaildrawOrderpropertypublic var drawOrder:Vector.<int>timeproperty public var time:NumberConstructor DetailDrawOrderData()Constructorpublic function DrawOrderData()Sat Apr 22 2017, 10:26 AM +08:00

来源: laya_api 发布时间: 20170422

1445. laya.particle.ParticleTemplateBase [ 75%]

...加一个粒子 ParticleTemplateBaseProperty Detailsettingspropertypublic var settings:ParticleSetting 粒子配置数据 textureproperty protected var texture:Texture 粒子贴图 Constructor DetailParticleTemplateBase()Constructorpublic function ParticleTemplateBase() 创建一个新的 ParticleT...

来源: laya_api 发布时间: 20170929

1446. laya.utils.PoolCache [ 75%]

...an):void 尝试清理缓存 PoolCacheProperty DetailmaxCountpropertypublic var maxCount:int = 1000 允许缓存的最大数量 signproperty public var sign:String 对象在Pool中的标识 Method DetailaddPoolCacheManager()method public static function addPoolCacheManager(sign:String, maxCount:int ...

来源: laya_api 发布时间: 20170422

1447. Laya.MiniAdpter.nativefiles [ 75%]

...的链接 提交 1 个回复 Laya_Aaron 赞同来自:    public static var basePath:String = "";         /**根路径。*/         public static var rootPath:String = "";   这两个都设置一下 2018-09-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...

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

1448. image问题. [ 75%]

image问题. 有putImageData方法,为什么没有getImageData方法呢? var image: any = window.document.createElement("img"); image.putImageData(arrayBuff, width, height); var dd = image.imageData(0, 0, 1080, 1080);   2017-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

1449. 调试-帧率统计 [ 75%]

...ipt三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Browser = Laya.Browser; var Stat = Laya.Stat; Laya.init(Browser.clientWidth, Browser.clientHeight); Stat.show(Browser.clientWidth - 120 >> 1, Browser.clientHeight - 100 >> 1); })();module laya { import Browser = Laya.Brow...

来源: Laya_示例 发布时间: 20250223

1450. laya.d3.math.Ray [ 75%]

...tor3) 创建一个 Ray 实例。 RayProperty Detaildirectionpropertypublic var direction:Vector3方向originproperty public var origin:Vector3原点Constructor DetailRay()Constructorpublic function Ray(origin:Vector3, direction:Vector3) 创建一个 Ray 实例。 Parameters origin:Vector3 — 射...

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