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

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

1451. 调试-帧率统计 [ 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_示例 发布时间: 20251219

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

1453. laya.display.cmd.DrawTexturesCmd [ 75%]

...ing = DrawTextures[static] DrawTexturesCmdProperty Detailpospropertypublic var pos:Array 绘制次数和坐标。 textureproperty public var texture:Texture 纹理。 Method Detailrecover()method public function recover():void 回收到对象池 Constant DetailIDConstantpublic static const ID:Strin...

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

1454. laya.d3.physics.Constraint3D [ 75%]

...ed By  Constraint3D()Constraint3DProperty DetailrigidbodyApropertypublic var rigidbodyA:Rigidbody3D获取刚体A。[只读]rigidbodyBproperty public var rigidbodyB:Rigidbody3D获取刚体A。[只读]Constructor DetailConstraint3D()Constructorpublic function Constraint3D()Mon May 13 2019, 02:40 PM...

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

1455. laya.particle.ParticleTemplateBase [ 75%]

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

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

1456. laya.display.cmd.TranslateCmd [ 75%]

...D : String = Translate[static] TranslateCmdProperty Detailtxpropertypublic var tx:Number 添加到水平坐标(x)上的值。 typroperty public var ty:Number 添加到垂直坐标(y)上的值。 Method Detailrecover()method public function recover():void 回收到对象池 Constant DetailID...

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

1457. 字节平台(抖音预览调试),因为一行代码导致无法启动问题 [ 75%]

...urn new Date(instance.getTime()) as any } if (instance instanceof Array) { var cloneArr = [] as any[] ;(instance as any[]).forEach((value) => { cloneArr.push(value) }) return cloneArr.map((value: any) => GameUtils.deepCopy<any>(value)) as any } if (instance instanceof Object) { var copyI...

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

1458. destination-out 叠加模式问题 [ 75%]

...从图上看到的信息不全面 li970704928 • 2017-12-13 19:03 private var maskArea:Sprite; private var sp:Sprite; private var guideContainer:Sprite; public function openPoison():void { mapData = mapSession.mapData; guideContainer=new Sprite(); guideContainer.cacheAs = "bitmap"; this.a...

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

1459. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 75%]

...继承式页面类,可以直接使用页面定义的属性(通过IDE内var属性定义),比如this.tipLbll,this.scoreLbl,具有代码提示效果 * 建议:如果是页面级的逻辑,需要频繁访问页面内多个元素,使用继承式写法,如果是独立小模块,功能...

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

1460. 使用官方文档中qrcode生成二维码的代码,打包APP后无效 [ 75%]

...了,麻烦老师看下是什么问题,谢谢! private initCode() { var div: any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div, { width: 100, height: 100 }); var url: string = this.URL; this.qrcode.makeCode(url); Laya.stage.once("click", this, th...

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