大约有 753 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
Laya_社区(417) Laya2.0_文档(98) Laya3.0_api(64) Laya2.0_api(59) laya_api(54) Laya_示例(28) Laya3.0_文档(18) Laya2.0_示例(15)
...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
...资源所在图集也存在,不过小图的source的_referecentCount==0,_texture==null。不知是不是这个原因引起? 如附件图,black.png是用到的小图,所在图集为comui.atlas 附件 : --> 2022-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20220722
... 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
... 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
...动态加载。 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
...-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
...高度 | | Font descriptor | 字体描述文件,必须要选择 xml | | Textures | 纹理图片格式,必须要选择 png | #### 第六步:导出位图字体 完成以上这些配置步骤后,就可以导出位图字体了。 选择菜单栏的 `Options`-> `Save bitmap font as…`,如下...
来源: Laya2.0_文档 发布时间: 20210715
...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
...red 赞同来自: 您好,这个问题是由于真机不支持webgl的OES_texture_float_linear跟OES_texture_half_float两个扩展导致的。 我们联系一下微信平台,看看他们能不能解决 2024-07-23 0 0 分享 微博 QZONE 微信 layaAir小孟 赞同来自: 您好,方便将这...
来源: Laya_社区 发布时间: 20240718
...70 相关问题 请问LayaAir中如何使图片以圆形的方式显示? Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? ios14系统下 blendMode='lighter' 图片异常 laya怎么跨域加载图片 编辑了图片 执行代码说加载不出来资源 这个是怎...
来源: Laya_社区 发布时间: 20170417