大约有 124 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0030 秒)
...ring = text[static] 文本类型,加载完成后返回文本。Loader TEXTURE2D : String = TEXTURE2D[static] Texture2D资源。Loader TEXTURECUBE : String = TEXTURECUBE[static] TextureCube资源。Loader TTF : String = ttf[static] TTF字体类型,加载完成后返回null。Loader XM...
来源: Laya2.0_api 发布时间: 20190513
...;VideoTexture> Globals "laya/loaders/TextureLoader" RenderTextureLoader Texture2DLoader TextureLoader VideoTextureLoader load compressedFormats constructParams2d internalResources videoFormats propertyParams2d Legend Object literal Variable Function Type alias Class Class with type parameter Meth...
来源: Laya3.0_api 发布时间: 20231115
...rTexture> Globals "laya/loaders/TextureLoader" RenderTextureLoader load Texture2DLoader TextureLoader VideoTextureLoader compressedFormats constructParams2d internalResources videoFormats propertyParams2d Legend Object literal Variable Function Type alias Class Class with type parameter Method En...
来源: Laya3.0_api 发布时间: 20231115
...dirtIntensity : Number 获取污渍强度。 BloomEffect dirtTexture : Texture2D = null镜头污渍纹路,用于为泛光特效增加污渍灰尘效果BloomEffect fastMode : Boolean = false是否开启快速模式。该模式通过降低质量来提升性能。BloomEffect intensity : Number...
来源: Laya2.0_api 发布时间: 20190513
...H MESH Mesh资源 Laya.Loader.MATERIAL MATERIAL Material资源 Laya.Loader.TEXTURE2D TEXTURE2D Texture2D资源 Laya.Loader.TEXTURECUBE TEXTURE2D TextureCube资源 Laya.Loader.SPINE SPINE Spine资源 二、加载多个资源 有很多时候,我们需要把大量的资源在Loading界面进行预加...
来源: Laya3.0_文档 发布时间: 20240910
...求也是存在的。 目前,LayaAir可以实现自定义2D纹理渲染(Texture2D)和基础图元渲染(Primitive)。 本篇文档属于进阶性文档,在阅读前需要具备Shader的基础知识,可以参考3D着色器文档中的一些概念介绍。 二、结构与应用 2.1 着色器文...
来源: Laya3.0_文档 发布时间: 20250310
...D场景添加渲染物2.3 设置摄像机的目标纹理2.4 设置Sprite的Texture2.5 修改渲染纹理属性三、代码中混合使用3D混合使用3D 一、概述 在2D项目开发过程中,开发者往往需要在UI界面显示3D场景或者3D物体,比如游戏开发中,3D人物在2D背...
来源: Laya3.0_文档 发布时间: 20240910
...目发布为微信小游戏,预制体被忽略上传怎么办? 请问Texture2D如何用base64字符串构建对象 TiledMap创建地图在LayaAir中显示不完全 laya里面有没有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 老项目类库升级到 La...
来源: Laya_社区 发布时间: 20170215
...ass BaseTextureInheritanceBaseTexture laya.resource.ResourceSubclasses DataTexture2D, RenderTexture, SolidColorTexture2D, SolidColorTextureCube, Texture2D, TextureCube BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By defaulteTexture : BaseTexture[...
来源: laya_api 发布时间: 20170929
...接在unity添加相同材质显然不会出现这种情况) Laya.Texture2D.load("res/skin/2.jpg",new Laya.Handler(this,this.loadfinish));//加载贴图 loadfinish(tex){ var mat=new Laya.UnlitMaterial();//创建材质 mat.albedoTexture=tex;//给材质添加贴图 //mat.albedoColorA = 0.5; //...
来源: Laya_社区 发布时间: 20200626