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

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

811. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 68%]

...创建一个复合的Button 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 Laya3D里的material可以设置flat shading么 如何获取一个3D模型的长宽高? ...

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

812. laya.d3.core.scene.Scene3D_API3.0 [ 68%]

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

813. laya.d3.core.MeshTerrainSprite3D [ 68%]

...only] 获取地形Z轴长度。 MeshTerrainSprite3D destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Bool...

来源: Laya2.0_api 发布时间: 20190513

814. 项目分包后无法运行 [ 68%]

...放,U3D和1.7.*都没问题 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”, 发布到vivo平台后,龙骨动画无法显示...

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

815. 通过PrimitiveMesh创建简单Mesh(JavaScript-3D基础(JS)-LayaAir3D之模型和网格) [ 68%]

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

816. TS setExternalLinkEx問題 [ 68%]

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

817. [LayaAirIDE3]2d相机打包后问题 [ 68%]

...t;     private touchId: number = -1;     private isTouching: boolean = false;     private deadZone: number = 45;     private isEnabled: boolean = true;      onAwake() {         this.createJoystick();         this.bindEvents();                 // 监听全局事件      ...

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

818. laya.ui.Button_API3.0 [ 68%]

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

819. 3D基础显示对象 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

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

820. 通过PrimitiveMesh创建简单Mesh(TypeScript-3D基础(TS)-LayaAir3D之模型和网格) [ 68%]

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