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

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

521. Image偶尔显示不了 [ 62%]

...是LayaAirIDE2.3,图片偶尔显示不了,经查parent,visible,x,y,width,height,alpha,skin都正常,资源所在图集也存在,不过小图的source的_referecentCount==0,_texture==null。不知是不是这个原因引起?      如附件图,black.png是用到的小图,所在图集...

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

522. laya.resource.Texture2D_API3.0 [ 62%]

...destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory dest...

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

523. 弹窗视图组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 62%]

...类继承而来。 拖动区域 dragArea 拖动区域(格式:x,y,width,height),默认值为"0,0,0,0" 模式窗口 isModal 是否是模式窗口,默认为false。为模式窗口时,点击弹窗空白处,可自动关闭该弹窗 显示弹窗效果 isShowEffect 是否显示弹出效果,...

来源: Laya3.0_文档 发布时间: 20251024

524. [LayaAir3]3.3.0.beta.3 2d物理RigidBody代码生成问题 [ 62%]

...2D();         shape.x = object.width / 2;         shape.y = object.height / 2;         shape.width = 1;         shape.height = 1;         rigidBody.shapes = [shape];         return rigidBody;     } 附件 : --> 2025-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

525. ios15遮罩引起的黑屏在1.x的版本上如何解决 [ 62%]

...a.alpha = 0; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); maskArea.setName("maskArea") mask.addChild(maskArea);   //绘制一个圆形区域,利用叠加模式,从遮罩区域抠出可交互区 highLightArea = new Sprite(); highLightArea.visible = false; //...

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

526. viewportPointToRay产生的射线始终有偏差,是为什么? [ 61%]

... ratioX = (input.x / Laya.stage.width); let ratioY = (input.y / Laya.stage.height); let clientWidth = Laya.stage.clientScaleX * Laya.stage.width let clientHeight = Laya.stage.clientScaleY * Laya.stage.height   // let singleX = (Laya.Browser.width - clientWidth)/2; // let singleY = (Laya.Browser.hei...

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

527. 骨骼动画-换装 [ 61%]

...WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Te...

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

528. iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 [ 61%]

...alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); maskArea.name = "maskArea"; this.guideContainer.addChild(maskArea); this.interactionArea = new Laya.Sprite(); this.interactionArea.blendMode = "destination-out"; this.guideContainer.addChild(this.interacti...

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

529. laya.resource.RenderTextureCube_API3.0 [ 61%]

...t gammaCorrection gammaSpace generateDepthTexture generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount multiSamples obsolute referenceCount samples width wrapModeU wrapModeV wrapModeW bindCanvasRender cpuMemory currentActive gpuMemory Methods _addReference _clearReference _end...

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

530. 为什么有红底 [ 61%]

...擎 为什么有红底 为什么有红底 UI code  <View width="750" height="225" editorInfo="compId=1">    <Image y="0" x="0" skin="home/image_touxiangkuang.png" editorInfo="compId=5"/> </View> 附件 : --> 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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