大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0221 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
... common image imageWithBlob imageWithWorker Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...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
...``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
...romise) DOMException: play() 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2017-11-22 11:48 浏览: 1997 关注: 3 人 liner1457387450 • 2017-11-22 12:07 恩恩,谢谢,可以了
来源: Laya_社区 发布时间: 20171122
...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
...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
...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
...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
...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
...现有这么一段判断单例组件的限制 __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