大约有 158 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0063 秒)
.../media/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties _id _isLoaded _needUpdate destroyedImmediately element lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel buffered compareMode cpu...
来源: Laya3.0_api 发布时间: 20231115
...时候执行的函数//从资源来表中获取加载好的background图片纹理 var texture = Laya.loader.getRes('res/background.png'); //创建一个bg显示对象 var bg = new laya.display.Sprite(); //将上面的texture纹理绘制到bg图像里面 bg.graphics.drawTexture(texture, 0, 0); //将b...
来源: Laya_社区 发布时间: 20160722
... Font descriptor | 字体描述文件,必须要选择 xml | | Textures | 纹理图片格式,必须要选择 png | #### 第六步:导出位图字体 完成以上这些配置步骤后,就可以导出位图字体了。 选择菜单栏的 `Options`-> `Save bitmap font as…`,如下图所示:...
来源: Laya2.0_文档 发布时间: 20210715
...图对应LayaUnity插件导出的ltcb或ltcb.ls文件。设置scene3D反射纹理的代码在Scene3D类中的reflection属性。 有反射探针之后,开发者可以根据不同的区域来烘培不同的反射天空盒,以此来得到更多更丰富的反射效果,如下图所示: ; //获取新的纹理 this.pbrTexture = Laya.Loader.getRes("res/threeDimen/texture/earth.png"); //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere.mesh...
来源: Laya2.0_文档 发布时间: 20210715
...ndard材质 pbrStandardMaterial = new PBRStandardMaterial(); //获取新的纹理 pbrTexture = Loader.getRes("res/threeDimen/texture/earth.png") as Texture2D; //为PBRStandard材质设置漫反射贴图 pbrStandardMaterial.albedoTexture = pbrTexture; //修改导出球的材质 sphere.meshRenderer.ma...
来源: Laya2.0_文档 发布时间: 20210715
... this.pbrStandardMaterial = new Laya.PBRStandardMaterial(); //获取新的纹理 this.pbrTexture = Laya.Loader.getRes("res/threeDimen/texture/earth.png") as Laya.Texture2D; //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材...
来源: Laya2.0_文档 发布时间: 20210715
...Record<string, Texture> Defined in laya/ani/bone/Templet.ts:58 存放纹理数据 tfArr tfArr: any[] = [] Defined in laya/ani/bone/Templet.ts:44 transform数据 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string In...
来源: Laya3.0_api 发布时间: 20231115
...架 分享:打地鼠 AS、JS、TS版本 Demo! layabox3.07版本使用纹理压缩色彩很大 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 使用谷歌c...
来源: Laya_社区 发布时间: 20190225