大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
....Event.ERROR, this, this.errorHandler); } private openHandler(event: any = null): void { //正确建立连接; this.byte.writeByte(1);//写入一个字节 this.byte.writeInt16(20);//写入一个int16的数据 this.byte.writeFloat32(20.5);//写入一个32位的浮点数据 this.byte.writeUTFString(...
来源: Laya_社区 发布时间: 20171129
...urls, Handler.create(this, onAssetLoaded), Handler.create(this, onLoading, null, false), Loader.TEXT); // 侦听加载失败 Laya.loader.on(Event.ERROR, this, onError); })(); function onAssetLoaded(texture) { // 使用texture console.log("加载结束"); } // 加载进度侦听器 function onLoading...
来源: Laya_示例 发布时间: 20251219
...(this._style = SpriteStyle.create()); if( this._style == null){ this._style = SpriteStyle.create() } return this._style; } core.js vivo下getJSON报错兼容 static getJSON(key) { ...
来源: Laya_社区 发布时间: 20191017
...果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...
来源: laya_api 发布时间: 20170929
...erty 'props' of undefined TypeError: Cannot read property 'm_jointList' of null 【新手求助】播放动画问题 Uncaught TypeError: Cannot read property 'addState' of undefined 打包QQ小游戏,Uncaught TypeError: Cannot read property '_doAwake' of undefined 寻求帮助 Uncaught TypeError: ...
来源: Laya_社区 发布时间: 20180305
...果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...
来源: laya_api 发布时间: 20170929
...Text.y = 300; //Tween.from(letterText, { y : 100 }, 3000, Ease.elasticOut, null, i * 1000);//注释本行改为将Tween.from改变为Tween.to Tween.to(letterText, { y : 100 }, 3000, Ease.elasticOut, null, i * 1000); ``` 运行效果如动图3所示 (动图3) 结合代码...
来源: Laya2.0_文档 发布时间: 20210715
...:*):void 克隆。 Color forNativeElement(nativeElements:Float32Array = null):voidColor toGamma(out:Color):void 线性空间转换到Gamma空间。 Color toLinear(out:Color):void Gamma空间转换到线性空间。 ColorPublic Constants ConstantDefined By BLACK : Color[static] 黑色 Co...
来源: Laya2.0_api 发布时间: 20190513
... } function Haha(obj,yy,times1,alphas,times2) { Tween.to(obj,{y:yy},times1,null,Handler.create(this,function() { Tween.to(obj.loadtext,{alpha:alphas},times2,null,null,0); })); } 2017-06-26 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 c...
来源: Laya_社区 发布时间: 20170626
...ector2):void 设置二维向量。 BaseRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指...
来源: laya_api 发布时间: 20170929