大约有 3,244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0082 秒)
Laya_社区(2446) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(77) Laya_示例(52) Laya2.0_示例(18)
...创建一个复合的Button 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 Laya3D里的material可以设置flat shading么 如何获取一个3D模型的长宽高? ...
来源: Laya_社区 发布时间: 20210527
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _reflectionsIblSamples _reflectionsIblSamples: number = 128 Defined in laya/d3/core/scene/Scene3D.ts:345 ide配置文件使用 _reflectionsResolutio...
来源: Laya3.0_api 发布时间: 20231115
...only] 获取地形Z轴长度。 MeshTerrainSprite3D destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Bool...
来源: Laya2.0_api 发布时间: 20190513
...放,U3D和1.7.*都没问题 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”, 发布到vivo平台后,龙骨动画无法显示...
来源: Laya_社区 发布时间: 20160628
....Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(0.25, 20, 20))); sphere.transform.position = new Laya.Vector3(1.0, 0.25, 0.6); //圆柱体 var cylinder = sprite3D.a...
来源: Laya2.0_文档 发布时间: 20210715
...: Browser.window.conch && Browser.window.conch.showAssistantTouch(false); var ctx = document.createElement('canvas').getContext('2d'); function render(){ ctx.fillStyle='#99d9ea'; ctx.fillRect(0,0,window.innerWidth,window.innerHeight); window.requestAnimationFrame(render); } window.requestAni...
来源: Laya_社区 发布时间: 20180525
...t; private touchId: number = -1; private isTouching: boolean = false; private deadZone: number = 45; private isEnabled: boolean = true; onAwake() { this.createJoystick(); this.bindEvents(); // 监听全局事件 ...
来源: Laya_社区 发布时间: 20251125
...utton.clickHandler = laya.utils.Handler.create(this,onClickButton,[button],false);//设置 button 的点击事件处理函数。 Laya.stage.addChild(button);//将此 button 对象添加到显示列表。 } function onClickButton(button) { console.log("按钮被点击了。",button); } example import...
来源: Laya3.0_api 发布时间: 20231115
....Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); /* 球体 */ let sphere = new Laya.Sprite3D; let sphereMesh = sphere.addComponent(Laya.MeshFilter); let sphereRender = sphere.addComponent(Laya.MeshRenderer); // 创建网格 sphereMesh.sharedMesh = Laya.Primit...
来源: Laya3.0_文档 发布时间: 20251010
....Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(0.25, 20, 20))); sphere.transform.position = new Laya.Vector3(1.0, 0.25, 0.6); //圆柱体 var cylinder = sprite3D.a...
来源: Laya2.0_文档 发布时间: 20210714