大约有 678 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(427) Laya2.0_文档(65) Laya3.0_api(61) Laya2.0_api(57) Laya_示例(44) Laya3.0_文档(20) laya_api(4)
...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
...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
...模式的原因,对屏幕可视区域宽高的定义不能简单用Laya.stage.width height来定义,所以想复写DialogManager, 可视这个类里面大部分方法竟然是私有的。 官方能把那些方法改成protected类型吗? 2018-04-19 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20180419
...取模型上的材质 ```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
...****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
...为1160 * 850 设置缩放模式为fixedauto 调试输出缩放系数Laya.stage.clientScaleX Laya.stage.clientScaleY 都为1???那我该如何计算出实际的显示坐标高度和宽度? 我该如何在设置了缩放模式情况下,正确的把该图标放置Y坐标的底部。如图...
来源: Laya_社区 发布时间: 20171109
...取模型上的材质 ```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
...面中选择的,有多种模式 引擎中的各种节点都是添加在Stage(舞台)上的,Laya引擎的画布对应的是浏览器中的画布概念 GRoot是UI系统的根节点,一般不需要关心这个节点,添加在GRoot下的节点也会自动适配 2026-01-19 0 0 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20260119
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
... "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