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

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

111. 分享一个Shader版的CoolDown实现 [ 74%]

...ord: any;         public progress: number;         public uv_info: Array<any>;         constructor() {             super(0, 0);             this.progress = 0.0;             this.uv_info = [0.0, 0.0, 1.0, 1.0];             var len: number = 8 * CONST3D2D.BYTE...

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

112. laya.d3.core.material.SkyProceduralMaterial_API3.0 [ 74%]

...默认材质,禁止修改 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...

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

113. 图集打包后使用Texture不显示,项目整个已经传上来了 [ 73%]

... Laya.init(600,400); this.hahaha(); } private hahaha(): void { var assets: Array<any> = []; assets.push({ url: "res/start.json", type: Loader.ATLAS}); Laya.loader.load(assets, Handler.create(this, this.onComplete)); } private onComplete(): void { var texture:Texture = Laya.loader.getRes("start...

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

114. laya.d3.core.material.UnlitMaterial_API3.0 [ 73%]

...aterial/UnlitMaterial.ts:22 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...

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

115. list 加载动画为什么实现的效果会错乱掉? [ 73%]

...erHandler = new Handler(this, updateItem); Laya.stage.addChild(list); list.array = effList; } function updateItem(cell, index) { console.log(cell.dataSource); cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); }     我想实现的效果是 ...

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

116. laya.d3.core.material.ExtendTerrainMaterial_API3.0 [ 73%]

...ore/material/Material.ts:55 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...

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

117. 加载-多种类型资源加载 [ 73%]

...leton/robot/texture.png"; constructor() { Laya.init(100, 100); var assets: Array = []; assets.push({ url: this.ROBOT_DATA_PATH, type: Loader.BUFFER }); assets.push({ url: this.ROBOT_TEXTURE_PATH, type: Loader.IMAGE }); Laya.loader.load(assets, Handler.create(this, this.onAssetsLoaded)); } private on...

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

118. 加载-多种类型资源加载 [ 73%]

...leton/robot/texture.png"; constructor() { Laya.init(100, 100); var assets: Array = []; assets.push({ url: this.ROBOT_DATA_PATH, type: Loader.BUFFER }); assets.push({ url: this.ROBOT_TEXTURE_PATH, type: Loader.IMAGE }); Laya.loader.load(assets, Handler.create(this, this.onAssetsLoaded)); } private on...

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

119. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 73%]

...默认材质,禁止修改 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...

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

120. laya.gltf.glTFResource_API3.0 [ 72%]

...ce/Resource.ts:116 内存大小。 Returns number deps get deps(): ReadonlyArray<Resource> Inherited from PrefabImpl.deps Defined in laya/resource/HierarchyResource.ts:31 Returns ReadonlyArray<Resource> destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/...

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