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

大约有 784 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)

301. 关于3d的碰撞检测 [ 74%]

...Laya.WebGLContext.LINES, LayaAir3D.camera); this.phasorSpriter3D.line(this._linePos, this._color, this.ray.origin, this._color); this.phasorSpriter3D.end(); console.log("碰撞检测" + this.outHitInfo.distance);//一直都是-1   附件 : --> 2018-03-16 添加评论 免费帖 --> 分享 微博 QZO...

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

302. 关于要自定shader的同学 [ 74%]

... 可以使用 drawToCanvas从游戏中截屏当前sprite 的绘制 let new_texture = sprite.drawToCanvas(width, height, 0, 0) 这里的 width 和height 指的是当前的sprite在游戏中设置的大小 new_texture = ls.Texture.create(new_texture, 0, 0)   重新获取纹理然后将textureHost设...

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

303. laya.d3.physics.shape.BoxColliderShape_API3.0 [ 74%]

...uctors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPEORIENTATION_UPZ Accessors localOffset localRotation sizeX sizeY sizeZ type Methods clone cloneTo destroy updateLocalTransformations Constructors constructor new BoxColliderShape(sizeX?: number, ...

来源: Laya3.0_api 发布时间: 20231115

304. 时间轴动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 74%]

...列表中可以看出,复制新增的动画命名方式为"`原动画名_0,原动画名_1,.....`"例如,图18中,`skew_0`与`skew_1`是复制于`skew`,`skew_0_0_0`复制于`skew_0_0`。大家也可以在帧属性面板中修改默认的动画命名。 ![图18](img/18.png) (图18) 点击...

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

305. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 74%]

... tex.getIsReady is not a function at Graphics.loadImage (file:///D:/zxl/2.0_stable/lfGame2.0/bin/libs/laya.core.js:11477:26) at Function.createFrames (file:///D:/zxl/2.0_stable/lfGame2.0/bin/libs/laya.core.js:23134:23) at Animation.loadImages (file:///D:/zxl/2.0_stable/lfGame2.0/bin/libs/laya.core.j...

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

306. Error: 代码包大小为 5533 kb,上限为 4096 kb,请删除文件后重试? [ 74%]

...到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: lib 文件夹没用,删了。 2018-06-03 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 135*****305 相关问题 2.0一不小心删了bin...

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

307. laya.d3.core.particle.EmitterRing [ 74%]

...tected Properties Show Inherited Protected Properties PropertyDefined By _emissionRate : Number = 60 粒子发射速率 EmitterBase _emissionTime : Number = 0 当前剩余发射时间 EmitterBase _frameTime : Number = 0 积累的帧时间 EmitterBasePublic Methods Hide Inherited Public Methods S...

来源: laya_api 发布时间: 20170603

308. laya.ui.UIComponent [ 74%]

...据添加顺序排序。SpriteProtected Properties PropertyDefined By  _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent  _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴...

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

309. 一个修复Laya1.8.3中的粒子销毁时报错黑屏问题的思路 [ 74%]

...beginFlush = function () { $beginFlush.call(this); let attrs = Laya.Buffer._enableAtributes; if (attrs) { attrs.forEach((buffer, index) => { if (buffer && buffer.deleted) { Laya.WebGL.mainContext.disableVertexAttribArray(index); attrs[index] = null; } }); while (attrs.length > 0 &&...

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

310. [LayaAir1]安卓启动获取IMEI、IMSI、Mac地址的问题(layaair 1.8 + native 1.0) [ 74%]

... 分享 微博 QZONE 微信 satoxi 赞同来自: 补充 demo 文件 demo1.0_.9_.zip demo1.0_.8_.zip 2024-08-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 satoxi 相关问题 微信关系链:LayaAir引擎...

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