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

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

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

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

1453. laya.particle.ParticleTemplateBase [ 75%]

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

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

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

1455. 字节平台(抖音预览调试),因为一行代码导致无法启动问题 [ 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

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

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

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

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

1458. 使用官方文档中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

1459. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 75%]

...aceWidth(10);Laya.Text.registerBitmapFont(this.mFontName,this.mBitmapFont);var txt = new Laya.Text();txt.text = "这是测试";//设置宽度,高度自动匹配txt.width = 250;//自动换行txt.wordWrap = true;txt.align = "center";//使用我们注册的字体txt.font = this.mFontName;txt.fontSize...

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

1460. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 74%]

..._tMusic) { if (_musicMuted) return null; } else { if (Render.isConchApp) { var ext:String = 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."); retur...

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