• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,655 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)

1381. as怎么用protobytebuf传输数据到服务端 [ 50%]

...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

1382. 请问特效播放的速率可以自定义吗? [ 50%]

...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

1383. 视频 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...//创建视频纹理并将其应用到Sprite3D上 private createVideo(url: string): void { //设置纹理的路径 this.videoTexture.source = url; //开始播放视频 this.videoTexture.play(); //设置纹理的播放模式为循环播放 this.videoTexture.loop = true; //创建一个不受光材质 ...

来源: Laya3.0_文档 发布时间: 20251010

1384. laya.display.cmd.DrawRoundRectCmd_API3.0 [ 50%]

...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

1385. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 50%]

.../ 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

1386. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 49%]

...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

1387. 如何使用graphics绘画虚线 [ 49%]

... 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

1388. 引擎的text类中有没有直接读取Json文件的函数 [ 49%]

...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

1389. laya的模型动画对360小游戏不适配 报game.js:22084 Uncaught getUint16 error - Out of bounds [ 49%]

...int16 error - Out of bounds";at api request success callback function String

来源: Laya_社区 发布时间: 20200115

1390. LAYA的AS3项目碰见个问题,求解 [ 49%]

...      super.initialize();         }        private var names:String="";        override public function set dataSource(value:*):void         {             super.dataSource = value;             if(dataSource==null) return;             names=dataSourc...

来源: Laya_社区 发布时间: 20170703