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

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

381. laya阴影问题 [ 60%]

...veShadow = true; }else{ var unlitMat = new Laya.PBRStandardMaterial(); var texture: Laya.Texture2D = Laya.loader.getRes("Reference/cardtest.png"); unlitMat.albedoTexture = texture; cardOne.meshRenderer.material = unlitMat; cardOne.meshRenderer.castShadow = true; } }真心求教大佬,怎么才能...

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

382. Image偶尔显示不了 [ 60%]

...资源所在图集也存在,不过小图的source的_referecentCount==0,_texture==null。不知是不是这个原因引起?      如附件图,black.png是用到的小图,所在图集为comui.atlas   附件 : --> 2022-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

383. laya.ui.HScrollBar_API3.0 [ 60%]

... scrollSize showButtons sizeGrid skewX skewY skin stage staticCache target texture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance...

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

384. laya.ui.VScrollBar_API3.0 [ 60%]

... scrollSize showButtons sizeGrid skewX skewY skin stage staticCache target texture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance...

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

385. 微信小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

...动态加载。 Laya.loader.load("resources/layaair.png").then((res: Laya.Texture) => { let sprite:Laya.Sprite = new Laya.Sprite(); sprite.texture = res; this.owner.addChild(sprite); }); } 使用URL.basePath方法后,再使用load加载本地路径,都会自动加上URL.basePath里的网址...

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

386. 高级应用-渲染纹理 [ 60%]

...-10, 0, 0), true, false); renderTargetCamera.renderTarget = new Laya.RenderTexture(2048, 2048); renderTargetCamera.renderingOrder = -1; renderTargetCamera.addComponent(CameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6,...

来源: Laya_示例 发布时间: 20251209

387. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 60%]

...高度 | | Font descriptor | 字体描述文件,必须要选择 xml | | Textures | 纹理图片格式,必须要选择 png | #### 第六步:导出位图字体 完成以上这些配置步骤后,就可以导出位图字体了。 选择菜单栏的 `Options`-> `Save bitmap font as…`,如下...

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

388. 性能测试-骨骼 [ 60%]

...LayaAirIDE让项目开发更高效。let mArmature, fileName = "Dragon", mTexturePath, mAniPath, rowCount = 10, colCount = 10, xOff = 50, yOff = 100, mSpacingX, mSpacingY, mAnimationArray = [], mFactory, mActionIndex = 0; class PerformanceTest_Skeleton { constructor() { const Browser = Laya.Browser,...

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

389. [LayaAir3]光照贴图在web平台和小游戏平台上表现不一致 [ 60%]

...red 赞同来自: 您好,这个问题是由于真机不支持webgl的OES_texture_float_linear跟OES_texture_half_float两个扩展导致的。   我们联系一下微信平台,看看他们能不能解决 2024-07-23 0 0 分享 微博 QZONE 微信 layaAir小孟 赞同来自: 您好,方便将这...

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

390. 将字节数组转为图片 [ 60%]

...70 相关问题 请问LayaAir中如何使图片以圆形的方式显示? Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? ios14系统下 blendMode='lighter' 图片异常 laya怎么跨域加载图片 编辑了图片 执行代码说加载不出来资源 这个是怎...

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