大约有 271 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...ited from Resource.obsolute Defined in laya/resource/Resource.ts:139 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...
来源: Laya3.0_api 发布时间: 20231102
...ND_ENABLE_SEPERATE时生效。BaseMaterial renderMode : int[write-only] 设置渲染模式。 ShurikenParticleMaterial renderQueue : int 所属渲染队列.BaseMaterial SHADERDEFINE_ADDTIVEFOG : int[static] ShurikenParticleMaterial SHADERDEFINE_DIFFUSEMAP : int[static] ShurikenParticleMate...
来源: laya_api 发布时间: 20170929
...normalTexture : BaseTextureTerrainMaterial renderMode : int[write-only] 设置渲染模式。 TerrainMaterial renderQueue : int 所属渲染队列.BaseMaterial SHADERDEFINE_DETAIL_NUM1 : int[static] 地形细节宏定义。TerrainMaterial SHADERDEFINE_DETAIL_NUM2 : int[static] TerrainMater...
来源: Laya2.0_api 发布时间: 20190513
...ne[read-only] 获得所属场景。 Sprite3D shadow : Boolean[override] 设置是否产生阴影。 DirectionLight shadowDistance : Number 获取阴影最远范围。 LightSprite shadowPCFType : int 获取阴影PCF类型。 LightSprite shadowPSSMCount : int 获取阴影分段数。 LightSprite...
来源: laya_api 发布时间: 20170929
...、概述二、IDE中创建与使用2.1 创建像素线3D精灵2.2 属性设置2.3 像素线材质2.4 像素线数据三、代码中创建与使用3.1 构造方法3.2 AddLine()3.3 Tool.linearModel()3.4 代码使用像素线 一、概述 像素线(Pixel Line )也可以称之为像素线3D精灵...
来源: Laya3.0_文档 发布时间: 20251010
...currentTime(value: number): void Defined in laya/media/VideoTexture.ts:277 设置和获取当前播放头位置。 Returns number Defined in laya/media/VideoTexture.ts:281 设置和获取当前播放头位置。 Parameters value: number Returns void defaultTexture get defaultTexture(): Texture2D Ove...
来源: Laya3.0_api 发布时间: 20231115
...l1, url2], type).then((res:Array<any>)=> { //加载多个,统一设置类型 }); Laya.loader.load([{ url:url1, type: type1 }, { url:url2, type: type2 }]).then((res:Array<any>)=> { //加载多个,分别设置类型 }); 1.3 加载多个文件(组合) let tasks:Array<Promis...
来源: Laya3.0_文档 发布时间: 20251010
...出工具无法导出摄相机和Light的cullingMask,每次都要手工设置,容易出现编辑器与代码不同步的情况 2、Laya的Light渲染时,没有cullingMask标记,所有光源会对所有对象生效。 最近在将之前做的一个2D项目,换成3D版本。看到Laya2.0说...
来源: Laya_社区 发布时间: 20200110
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D onc...
来源: laya_api 发布时间: 20170929