大约有 1,162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(657) Laya_示例(157) Laya2.0_文档(129) Laya2.0_示例(116) Laya3.0_api(72) Laya3.0_文档(11) laya_api(11) Laya2.0_api(9)
...升,求解决方法 留言给我;要下班了;谢谢 大家 public function LayaSample() { //初始化引擎 Laya.init(1136, 640, WebGL); Laya.stage.bgColor = "#ffffff"; Laya.stage.on(Event.CLICK, this, play); ...
来源: Laya_社区 发布时间: 20170406
...var rotation = new Laya.Vector3(0, 0.01, 0); Laya.timer.frameLoop(1, this, function () { layaMonkey.transform.rotate(rotation, false); }); function initShader() { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0 }; var uniformMap = { '...
来源: Laya_示例 发布时间: 20261113
... undefined at assertPath (path.js:7:11) at Object.join (path.js:1211:7) at Function.FileTools.getPath (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.max.js:24651:26) at Function.FileManager.getPath (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.max.js:2574...
来源: Laya_社区 发布时间: 20170406
Laya.Handler.create 回调参数问题 var ape ; function Init() { Laya.init(400, 800, Laya.WebGL); Laya.stage.bgColor = "#999911"; ape = new Laya.Sprite(); Laya.stage.addChild(ape); var ag = ["lsd",ape,1,"str"]; ape.loadImage("../laya/assets/res/to1.png",0,0,0,0,Laya.Handler.create(this,...
来源: Laya_社区 发布时间: 20180510
...; [workder 支持的函数](https://developer.mozilla.org/En/DOM/Worker/Functions_available_to_workers) 页面提供了一个 worker 支持的全局函数列表。开发者可以自己看下相应的方法。 ####方法概述 ##### 构造函数Worker() 该构造函数创建一个 web worker,...
来源: Laya2.0_文档 发布时间: 20210715
...g reghead decode encode init isBase64String Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...x: velocityX * 3, y: velocityY * 3 }; Laya.Laya.timer.frameOnce(120, this, function () { newBall.destroy(); }); }); let label = this.label = Laya.Laya.stage.addChild(new Laya.Label("单击屏幕产生新的小球刚体,击向bridge的随机位置")); label.top = 20; label.right = 20; label.fontSiz...
来源: Laya2.0_示例 发布时间: 20261113
...el/Zombie/old/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { zombie.transform.rotation = new Laya.Quaternion(-0.7071068, 0, 0, -0.7071068); zombie.transform.position = new Laya.Vector3(0.3, 0, 0); addSkinComponent(zombie); loadUI(); }); var skinAniUrl = [ "../../res/three...
来源: Laya_示例 发布时间: 20261113
....Browser; import laya.webgl.WebGL; public class Text_ComplexStyle { public function Text_ComplexStyle() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage....
来源: Laya2.0_示例 发布时间: 20261113
...ArraySlice uint16ArraySlice uint8ArraySlice Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115