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

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

181. destination-out 叠加模式问题 [ 57%]

...的信息不全面 li970704928 • 2017-12-13 19:03 private var maskArea:Sprite; private var sp:Sprite; private var guideContainer:Sprite; public function openPoison():void { mapData = mapSession.mapData; guideContainer=new Sprite(); guideContainer.cacheAs = "bitmap"; this.addChild(guideCo...

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

182. removeSelf()这个方法调用后是不是会移除对象上添加的一切东西? [ 57%]

...n的点击事件,调用了定时器。。还添加了其它一些image,sprite,label等对象。。   如果我调用this.removeSelf()是不是会把this上添加的全部移除?我知道定时器貌似不能自己清除。。要手动clear,那其它包括一个按钮的点击事件呢? ...

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

183. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 56%]

js环境下使用Loader加载图片在Sprite对象的.on函数无效 js环境下使用Loader加载图片在Sprite对象的.on函数无效 var tempnote = new Laya.Sprite(); 使用 tempnote.texture=Loader.getRes(tempjson.pic)后 tempnote.on函数不触发 使用tempnote.loadImage(tempjson.pic); 触...

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

184. Laya 集成Box2d 可以么?着急 [ 56%]

...     Laya.stage.graphics.drawTexture(textture);     debugDraw.SetSprite(ctx);     debugDraw.SetDrawScale(30.0);     debugDraw.SetFillAlpha(0.3);     debugDraw.SetLineThickness(1.0);     debugDraw.SetFlags(b2DebugDraw.e_shapeBit | b2DebugDraw.e_jointBit);     world.SetDebu...

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

185. 静态protobuf [ 56%]

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

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

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

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

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

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

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

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

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

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

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