大约有 1,655 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(71) Laya_示例(58) Laya2.0_示例(54)
...msg; ByteBuf buf = frame.content(); //真正的数据是放在buf里面的 String aa = buf.toString(Charset.forName("utf-8")); //将数据按照utf-8的方式转化为字符串 System.out.println(aa); 其中的aa输出为“ ” 附件 : --> 2017-04-05 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170405
...adEffectComplete, [effectPath])) private _onLoadEffectComplete(effectPath: string): void { let spriteEffect: Sprite3D = Laya.loader.getRes(effectPath) this._curRole.addChild(spriteEffect) let effectChilds: any = spriteEffect._childs[0]._childs for (let v of effectChilds) { //v.particleSystem.emissio...
来源: Laya_社区 发布时间: 20180409
...//创建视频纹理并将其应用到Sprite3D上 private createVideo(url: string): void { //设置纹理的路径 this.videoTexture.source = url; //开始播放视频 this.videoTexture.play(); //设置纹理的播放模式为循环播放 this.videoTexture.loop = true; //创建一个不受光材质 ...
来源: Laya3.0_文档 发布时间: 20251010
...laya/display/cmd/DrawRoundRectCmd.ts:15 圆点Y 轴位置。 Static ID ID: string = "DrawEllipse" Defined in laya/display/cmd/DrawRoundRectCmd.ts:7 Methods getBoundPoints getBoundPoints(sp?: { height?: number; width: number }): number[] Defined in laya/display/cmd/DrawRoundRectCmd.ts:100 Parameters ...
来源: Laya3.0_api 发布时间: 20231115
.../ export default class Main extends ui.mainUI { /**地图链接 */ MAP_URL:string = 'res/tiled/map.json'; /**地图 */ map: Laya.TiledMap; constructor(){ super(); Laya.loader.create(this.MAP_URL, new Laya.Handler(this, this.onComplete)) } private onComplete(){ this.map = new Laya.TiledMap(); thi...
来源: Laya_社区 发布时间: 20190218
...AuthReg extends ui.AuthRegUI { /** 密码临时存储 */ private _tmp_pwd: string = ""; /** 输入框数组 */ private _arrInput: Laya.TextInput = [this.input_nickname, this.input_mobile, this.input_password, this.input_repassword]; /** 标签数组 */ private _arrLabel: Laya.Label = [this.lb_nickna...
来源: Laya_社区 发布时间: 20200410
... 10:20 浏览: 2333 关注: 5 人 逐浪人 • 2018-08-04 11:08 var data: string = "data:image/svg+xml," + "<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">" +"<g fill=\"none\" stroke=\"black\" stroke-width=\"4...
来源: Laya_社区 发布时间: 20170423
...onLoaded():void { var json:JSON=Laya.loader.getRes("unpack.json"); var str:String=JSON.stringify(json); trace(str); } } } 2017-08-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 youngas 相关问题 看了其他引擎才发现 LAYA 真...
来源: Laya_社区 发布时间: 20170802
...int16 error - Out of bounds";at api request success callback function String
来源: Laya_社区 发布时间: 20200115
... super.initialize(); } private var names:String=""; override public function set dataSource(value:*):void { super.dataSource = value; if(dataSource==null) return; names=dataSourc...
来源: Laya_社区 发布时间: 20170703