大约有 3 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0022 秒)
...目发布为微信小游戏,预制体被忽略上传怎么办? 请问Texture2D如何用base64字符串构建对象 TiledMap创建地图在LayaAir中显示不完全 laya里面有没有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 老项目类库升级到 La...
来源: Laya_社区 发布时间: 20170215
... // 图片加载 var t = Laya.loader.getRes("res/island.png"); var tBall = Texture.create(t,866,190,548,305); var tTower = Texture.create(t,data.tower[towerLel].x,data.tower[towerLel].y,data.tower[towerLel].w,data.tower[towerLel].h); var tAeroboat = Texture.create(t,data.aeroboat[aeroboatLel].x , da...
来源: Laya_社区 发布时间: 20170720
...aderName("CMatShader"); } public SetMainTex(value) { this._shaderValues.setTexture(CMat._mainTex, value); } public SetMainCol(value) { this._shaderValues.setVector3(CMat._mainCol, value); } /** * 设置渲染相关状态。 */ private static initShader(): void { var attributeMap:Object = { 'a_Positi...
来源: Laya_社区 发布时间: 20190814