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

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

181. 静态protobuf [ 56%]

...怎么自己定义非静态方法供js调用 发现静态物件使用Laya.Sprite3D.instantiate方法复制出来的渲染批处理反复增加不会合批,这个怎么办? js怎么主动调用AS定义的静态变量? laya的pbr材质 静态灯光烘焙后 导出 就是全黑 问题状态 最...

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

182. 关于zOrder层级问题 [ 56%]

...t.zOrder); //打印结果:10   最后运行时舞台上显示的是arr1(sprite)在target(sprite)之上。 但是在编缉器上显示是正常的。 arr1对象是运行时动态添加到舞台上的,是不是后面添加的永远会覆盖舞台上原有的对象?如果是请问合理吗...

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

183. laya.d3.core.trail.TrailSprite3D_API3.0 [ 56%]

...ll Inherited Externals Only exported Menu Globals "laya/d3/core/trail/TrailSprite3D" TrailSprite3D Class TrailSprite3D TrailSprite3D 类用于创建拖尾渲染精灵。 Hierarchy RenderableSprite3D TrailSprite3D Index Constructors constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAP...

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

184. laya.display.AnimationBase_API3.0 [ 55%]

...接实例化此类,因为有些方法需要由子类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_RE...

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

185. 1.7.18beta少方法? [ 55%]

...Scene3D.load方法的第一个例子,地面部分是白色的 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 问题状态 最新活动: 2018-04-18 10:54 浏览: 1072 关注: 1 人

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

186. shader 问题[关闭] [ 55%]

...a.WebGLContext.FLOAT, false, _vlen, 4 * Laya.CONST3D2D.BYTES_PE] } }     sprite.customRender = function (context, x, y) {       context.ctx.setIBVB(x, y, this.iBuffer, this.vBuffer, this.iNum, null, this.customeShader, this.shaderValue, 0, 0)     } 1.如果我要 动态的,比如随时间...

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

187. getimagedata直接调用无法获取有效像素问题 [ 55%]

...取有效像素问题 更新: 在 现在有没有办法把一个display.sprite转存成图片 无意间找到了 答案 getimagedata无法直接使用 1 需要先 c= Laya.stage.drawToCanvas(720,1280, 0,0) 2 然后 调用 t = new Trxture(c); t.getPixels(0,0, 720,1280) 希望官方对这种比较...

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

188. 官方新手游戏引导示例中关于hit和unHit的使用疑问 [ 55%]

...(最新版本:1.7.16) 招聘:H5游戏开发 坐标:深圳南山 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. IOS系统内嵌H5游戏,退到后台...

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

189. 分享:Skeleton下Event.LABLE('label')事件的使用 [ 55%]

...oid { var tEventData:EventData = e as EventData; Laya.stage.addChild(mLabelSprite); mLabelSprite.x = mStartX; mLabelSprite.y = mStartY; mLabelSprite.graphics.clear(); mLabelSprite.graphics.fillText(tEventData.name, 0, 0, "20px Arial", "#ff0000", "center"); Tween.to(mLabelSprite, { y:mStartY - 200 },...

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

190. laya.display.Animation [ 54%]

...displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当...

来源: laya_api 发布时间: 20170929