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

大约有 2,364 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)

421. laya.d3.core.particleShuriKen.module.GradientAngularVelocity [ 83%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类...

来源: Laya2.0_api 发布时间: 20190513

422. 请教关于自定义3D图形的光照问题(顶点数据结构) [ 83%]

...是顶点数据的问题,请教顶点结构这里要怎么写 -- 我看boxMesh是有(x,y,z,r,g,b,uv1,uv2)好像是这样,后面5位是猜的。。没接触过,边学边做。。。 我是写死的全都是1,boxmesh里有1有0 -- 附生成的图形。一点3D的效果都没有。。 ---var fN...

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

423. 如何在3D旋转中使用缓动 Laya.Tween.to()?官方示例我看过,不是旋转 [ 83%]

...,不是旋转 Laya.Tween.to(this.camera.transform.localRotationEuler, { x: _vector3.x, y: _vector3.y, z: _vector3.z + (20 * Math.PI / 180) }, 500); 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 183**...

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

424. 使用方向键 控制精灵在格子中移动 [ 83%]

...{ this.keyList.splice(i,1); break; } } } onkeydown(e){ if(this.keyList.indexOf(e.keyCode)<0){ this.keyList.push(e.keyCode); } } loop(){ if(this.sp.x!=this.next_x||this.sp.y!=this.next_y){ if(this.sp.x!=this.next_x){ if(this.next_x>this.sp.x){ this.sp.x +=5; }else{ this.sp.x -=5; } }else{ if(th...

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

425. 天理何在,一个轴心点位中心的addChild到一个父容器,父容器的轴线点也是中心 [ 83%]

...d到一个父容器,父容器的轴线点也是中心 constructor(skin:Box) { super(); this.mc = skin; this._name = this.mc.name; this.addChild(this.mc); var xx:number = this.mc.x; var yy:number = this.mc.y; this.x = xx; this.y = yy; //一个轴心点中心的addChild到另一个轴线点位中心...

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

426. 各位大佬,帮我看看 tiledMap 中获取不到自定义属性 [ 83%]

..., 44, "isCanPass");  // var tileY = mapLayer.getTileDataByScreenPos(screenX, screenY); // var data = this.tiledMap.getLayerByIndex(3).getTileData(tileX, tileY); // console.log(data) // console.log(Laya.Keyboard.RIGHT) switch (e.keyCode) { //右边 case 39: { this.player.x += 16 break; } case 37: { ...

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

427. laya.d3.core.particleShuriKen.module.GradientAngularVelocity [ 83%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类...

来源: laya_api 发布时间: 20170929

428. 设置滤镜(TypeScript-LayaAir基础篇(TS)-位图) [ 83%]

...类 ColorFilter位于laya.filters包中,通过指定矩阵(*排列成4 x 5 的矩阵*)改变各颜色通道。 点击 [laya.filters.ColorFilter ](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Filter&class=laya.filters.ColorFilter) 查看API说明...

来源: Laya2.0_文档 发布时间: 20210715

429. ts,案例中的 子弹的脚本 [ 83%]

ts,案例中的 子弹的脚本  rig.setVelocity({ x: 0, y: -10 });   里面的 x,y  参数的含义是啥啊 我想知道x代表啥,还有y代表啥 2019-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个...

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

430. as3代码编译错误.100%重现,有测试代码.结果影响很大. [ 83%]

...super调用的时候,会被编译成错误代码. addFootPrintMagic(super.x,super.y, now); 被编译成addFootPrintMagic(laya.display.Sprite.prototype.x,_super.prototype.y,now); 下面是我写的测试代码,也被编译错了. trace(super.x,super.y); 被编译成了console.log(laya.display.Sprite....

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