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

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

381. laya.ui.DialogManager_API3.0 [ 64%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

382. laya.ani.swf.MovieClip_API3.0 [ 64%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playing rotation scaleX scaleY scene scroll...

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

383. DialogManager 内部的方法能改成私有的吗? [ 64%]

...模式的原因,对屏幕可视区域宽高的定义不能简单用Laya.stage.width height来定义,所以想复写DialogManager, 可视这个类里面大部分方法竟然是私有的。 官方能把那些方法改成protected类型吗? 2018-04-19 添加评论 免费帖 --> 分享 微博 QZ...

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

384. 材质的功能介绍(JavaScript-3D基础(JS)-LayaAir3D之Material材质) [ 64%]

...取模型上的材质 ```typescript //初始化3D场景 var scene = Laya.stage.addChild(Laya.Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")); //从场景获取球型精灵 this.sphere = scene.getChildByName("Sphere"); //获取球型精灵自带的BlinnPhong材质 bill...

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

385. 3d粒子只要勾了looping,每次播放完开始下一次循环的时候都会闪烁一下 [ 64%]

...****022 • 2019-12-13 19:42 @NilZ: var scene3d = new Laya.Scene3D(); Laya.stage.addChild(scene3d); var camera = new Laya.Camera(0, 0.1, 1000); scene3d.addChild(camera); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(1000, 0, 0)); came...

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

386. 关于缩放模式下的缩放比 [ 64%]

...为1160 * 850 设置缩放模式为fixedauto 调试输出缩放系数Laya.stage.clientScaleX  Laya.stage.clientScaleY 都为1???那我该如何计算出实际的显示坐标高度和宽度? 我该如何在设置了缩放模式情况下,正确的把该图标放置Y坐标的底部。如图...

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

387. 材质的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 64%]

...取模型上的材质 ```typescript //初始化3D场景 var scene = Laya.stage.addChild(Laya.Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")) as Laya.Scene3D; //从场景获取球型精灵 this.sphere = scene.getChildByName("Sphere") as Laya.MeshSprite3D; //获取球...

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

388. [LayaAir3]LayaAir3.3.7 新 UI 系统的疑问 [ 64%]

...面中选择的,有多种模式 引擎中的各种节点都是添加在Stage(舞台)上的,Laya引擎的画布对应的是浏览器中的画布概念 GRoot是UI系统的根节点,一般不需要关心这个节点,添加在GRoot下的节点也会自动适配 2026-01-19 0 0 分享 微博 QZONE...

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

389. touches一直为undefined [ 64%]

touches一直为undefined Laya.stage.on(Laya.Event.MOUSE_DOWN, this, onCtrlMoveRockerTouchDown); ......   function onCtrlMoveRockerTouchDown(e) {     console.log("onCtrlMoveRockerTouchDown()");     var touches = e.touches;     if(touches) {     ...取出前两个touch进行计算     } }...

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

390. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 64%]

... "res/atlas/clanwar_bg.jpg?" + Math.random();             Laya.stage.addChild(image);              var index:int = 0;             Laya.stage.timerLoop(1, this, function():void{index++;image.alpha = Math.sin(Math.PI*2*(index/24))})              var im...

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