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

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0221 秒)

4021. laya.net.Downloader_API3.0 [ 46%]

... common image imageWithBlob imageWithWorker Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface

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

4022. 3D+2D场景截屏,在不同浏览器显示效果不一致 [ 46%]

...re = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser.document.getElementById("layaCanvas"); var spi = new Laya.Sprite(); var spi1 = new Laya.Sprite(); var spi2 = new Laya.Sprite(); this.tempTexture2D.loadImageSource(cans, true); spi.texture =...

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

4023. 寻路系统(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 46%]

...``typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[thi...

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

4024. tween complete 报错 以及如何判断对象正在缓动中 [ 46%]

...romise) DOMException: play() 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2017-11-22 11:48 浏览: 1997 关注: 3 人 liner1457387450 • 2017-11-22 12:07 恩恩,谢谢,可以了

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

4025. VBOX动态增加的元素没有自动布局 [ 46%]

...s/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); }         完整项目请见附件。 附件 : --> testvbox.rar 2017-07-25 添加评论 免费帖 --> 分享 微...

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

4026. 版本管理 后缀可以自定吗? [ 46%]

...ginURL 源路径。 * @return 格式化后的新路径。 */ public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return originURL; }...

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

4027. DOM元素-视频 [ 46%]

...t laya.utils.Utils; /** * ... * @author */ public class DOM_Video { public function DOM_Video() { Laya.init(800, 600); Laya.stage.bgColor = "#FFFFFF"; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; // 创建Video元素 var videoElement:Object = Browser.createElement(...

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

4028. 3d粒子只要勾了looping,每次播放完开始下一次循环的时候都会闪烁一下 [ 46%]

...yaScene_gamescene/Conventional/chest01.lh", Laya.Handler.create(this, function(sp:Laya.Sprite3D):void { console.log("111111111111111111111") var target: Laya.Sprite3D = scene3d.addChild(sp) as Laya.Sprite3D; camera.convertScreenCoordToOrthographicCoord(pos, translate); target.transfor...

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

4029. as hello world 背景还是黑色 [ 46%]

...llo world package { import laya.ui.Label; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#ffffff"; var sp : Label = new Label("hello world"); //sp.fontSize = 55; sp.pos(100, 100) ; //sp.color = "#000000"; Laya.stage.addChild(sp)...

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

4030. box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. [ 46%]

...现有这么一段判断单例组件的限制 __proto.addComponentIntance=function(comp){         if (comp.owner)             throw "Node:the component has belong to other node.";         if (comp.isSingleton && this.getComponent((comp).constructor))       ...

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