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

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

891. 一个list钟我添加了renderHandler回调但是里面的初始化回调执行了两次!!! [ 51%]

...,index) { var btn=item.getChildByName('btn_true'); trace(btn); btn.on(Laya.Event.CLICK,this,function(){ trace("dadasdads"); }); } cuixueying • 2017-08-04 11:36 把可以运行的例子上传下,谢谢! rabee • 2017-10-12 10:49 @cuixueying:我也遇到了这个问题,这个已经...

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

892. laya.d3.core.light.PointLight [ 51%]

... Classes | Index | Frames No Frames PointLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherit...

来源: laya_api 发布时间: 20170929

893. laya.d3.core.light.DirectionLight [ 51%]

...sses | Index | Frames No Frames DirectionLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properti...

来源: laya_api 发布时间: 20170929

894. DrawPie例子中无法显示遮罩区域 [ 51%]

....cMask.pivot(80,80); //Laya.stage.addChild(this.cMask); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, onMouseMove); ape.mask = this.cMask; } function onMouseMove(){ this.cMask.pos(Laya.stage.mouseX, Laya.stage.mouseY); }; })(); 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

895. 动态阴影被切割了?为啥没有显示完成的阴影 [ 51%]

...age.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); Laya.stage.on(Laya.Event.CLICK, this, mouseHandler); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene()); function LayaAir3D() { //添加照相机 var camera = (scene.addChild(new Laya.Camera()));//0, 0.3, 100 camera.transform.tr...

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

896. [LayaAir3]list.selectHandler [ 51%]

...e.log(this.btn.selected); }break; shiyang • 2024-10-28 09:48 可以判断event.type == click执行你的逻辑 学思无涯 • 2024-10-28 10:43 @shiyang:赞赞赞

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

897. laya.physics.PhysicsDebugDraw_API3.0 [ 51%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getC...

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

898. AS转换JS运行报错 [ 51%]

...4 0 3 分享 微博 QZONE 微信 kevinchen2046 赞同来自: Laya.stage.on(Event.KEY_DOWN,this,KeyHandler); 应该这样写.... 2017-01-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 186*****403 相关问题 Layabox 2.0 bate5 运行...

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

899. laya.display.EffectAnimation_API3.0 [ 51%]

...aying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playEvent rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent ...

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

900. Sprite-新手引导 [ 51%]

...Container.loadImage("res/guide/crazy_snowball.png"); gameContainer.on(Laya.Event.CLICK, this, this.nextStep); // 引导所在容器 guideContainer = new Sprite(); Laya.stage.addChild(guideContainer); guideContainer.cacheAs = "bitmap"; // 绘制遮罩区,含透明度,可见游戏背景 maskArea =...

来源: Laya2.0_示例 发布时间: 20260303