大约有 419 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)
Laya_社区(176) Laya3.0_api(92) Laya2.0_api(50) laya_api(38) Laya2.0_文档(25) Laya3.0_文档(21) Laya2.0_示例(11) Laya_示例(6)
...很多警告 WebGL: INVALID_OPERATION: drawElements: no buffer is bound to enabled attribute __proto.renderSubmit @ laya.webgl.js:7418 __proto.submitElement @ laya.webgl.js:5943 __proto.flush @ laya.webgl.js:5965 __proto.flush @ laya.core.js:5987 __proto.render @ laya.core.js:18644 __proto._loop @ l...
来源: Laya_社区 发布时间: 20181123
...ader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例UI界面 var testView:ui.test.TestPageUI = new ui.test.TestPage...
来源: Laya2.0_文档 发布时间: 20210715
.../mat.albedoColorA = 0.5; //透明度 // mat.blend = Laya.RenderState.BLEND_ENABLE_ALL; // mat.blendSrc = Laya.RenderState.BLENDPARAM_SRC_ALPHA; // mat.blendDst = Laya.RenderState.BLENDPARAM_ONE_MINUS_SRC_ALPHA; // mat.renderQueue = Laya.BaseMaterial.RENDERQUEUE_TRANSPARENT; // mat.depthTest = Laya.R...
来源: Laya_社区 发布时间: 20200626
...bgColor = "#232628"; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Stat.enable(); Laya.stage.loadImage("res/cartoon2/background.jpg", 0, 0, 1280, 900); this.createCharacters(); text = new Text(); text.zOrder = 10000; text.fontSize = 60; text.color = "#ff0000" Laya.stage.addChild(text); Laya.timer...
来源: Laya2.0_示例 发布时间: 20260303
... 在页面顶部的搜索框中输入 WebGPU; 将相关选项设置为 Enabled; 按提示重启浏览器以使配置生效。 具体操作界面如图 2-1 所示。 (图2-1) 还需要注意的是,WebGPU 只能在安全上下文(Secure Context)中运行。这意味着在进行 WebGPU ...
来源: Laya3.0_文档 发布时间: 20260122
Laya.Script中_onEnable有调onEnable,_onDisable却没有调onDisable 附件 : --> 2020-08-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: onDisable是组件被禁用的时候会被...
来源: Laya_社区 发布时间: 20200827
...ed Public Properties Show Inherited Public Properties PropertyDefined By enable : Boolean是否启用。BaseShape randomDirection : Boolean随机方向。BaseShape x : Number发射器X轴长度。BoxShape y : Number发射器Y轴长度。BoxShape z : Number发射器Z轴长度。BoxShapePu...
来源: laya_api 发布时间: 20170929
...ed Public Properties Show Inherited Public Properties PropertyDefined By enable : Boolean是否启用。BaseShape randomDirection : Boolean随机方向。BaseShape x : Number发射器X轴长度。BoxShape y : Number发射器Y轴长度。BoxShape z : Number发射器Z轴长度。BoxShapePu...
来源: Laya2.0_api 发布时间: 20190513
...MLCanvas,但事实上不会。 看源码,laya.core.js,启用webgl.enable里修改了drawToCanvas的实现,返回的是pixels。 所以,按照你们的截屏示例,http://ask.layabox.com/question/4150,在webgl下是根本不可能截屏的。 所以,在webgl下到底怎么才...
来源: Laya_社区 发布时间: 20170523
...se destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component fixture : *[只读]b2Fixture对象 ColliderBase friction : Number摩擦力,取值范围0-1,值越大,摩擦越大,默认值为0.2ColliderBase id : int[read-on...
来源: Laya2.0_api 发布时间: 20190513