大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0091 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
.../p> */ public static var create:Function = function(src:String, def:* = null):HTMLImage { return new HTMLImage(src, def); } tobe • 2018-07-02 17:35 @Laya_Aaron:额,这里第一句话是 创建一个实例,new HTMLImage.create()的话不是new 那个实例了是不是呢 Laya_Aaron • 2018-...
来源: Laya_社区 发布时间: 20180702
... bit.destroy(); bit=null; } if (this.url && this===Laya.loader.getRes(this.url)) Laya.loader.clearRes(this.url); } } laya 2.0.2源...
来源: Laya_社区 发布时间: 20190704
... 1, 3)); //camera.addComponent(CameraMoveScript); this.camera.clearColor = null; } Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); MousePickingScene.prototype.lateRender = function (state) { MousePickingScene.__super.prototype.lateRender.call(state); //从屏幕空间生成射线 thi...
来源: Laya_社区 发布时间: 20170323
... context.ctx.setIBVB(x, y, this.iBuffer, this.vBuffer, this.iNum, null, this.customeShader, this.shaderValue, 0, 0) } 1.如果我要 动态的,比如随时间改变他 就在customRender 里直接改变 实例的值就可以了? 2. 这里也没说明 如果我要增加 新的 unifor...
来源: Laya_社区 发布时间: 20180313
...is.img, {x:100}, 10000).update = Laya.Handler.create(this, this.updateMsk, null, false); } private updateMsk():void { this.img.mask.graphics.clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffffff"); } 附件 : --> LayaTest.rar 2019-07-22 添加评论 免费...
来源: Laya_社区 发布时间: 20190722
...,但是运行之后是无效的,因为e.target可能变成stage或者null,也可能是正确的sprite。layaAir就是这么设计的?还是单纯的bug。如果是这么设计的,这个功能的代码该如何写? e.target.graphics.drawRect(0, 0, 50, 50, "black"); } 2016-07-15 添...
来源: Laya_社区 发布时间: 20160715
...atorStateScriptTest extends AnimatorStateScript { private var _text:Text = null; public function get text():Text { return _text; } public function set text(value:Text):int { _text = value; } public function AnimatorStateScriptTest() { } /** * 动画状态开始时执行。 */ override public functio...
来源: Laya2.0_文档 发布时间: 20210714
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 小游戏项目 加载有中文的json文件 报错 合并小图片 IDE通过.ui自动生成的ui代码报错 问题状态 最新活动: 2018-08-21 18:34 浏览: 1363 关注: 5 人 182*****089 • 2018-06-...
来源: Laya_社区 发布时间: 20180422
...t = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url...
来源: Laya2.0_api 发布时间: 20190513
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 微信小程序 发布后缺少app.json文件 发布到vivo平台后,龙骨...
来源: Laya_社区 发布时间: 20170925