大约有 411 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0047 秒)
Laya_社区(167) Laya3.0_api(86) Laya2.0_api(57) laya_api(53) Laya2.0_文档(23) Laya2.0_示例(10) Laya_示例(9) Laya3.0_文档(6)
...ey_05.png" if (index + 1 == i) { skin = "ui/round_okey_06.png" } this[`img_point${i}`].skin = skin; } this.m_index = index; } } public onChange(value: number): void { let page = this.list_rule.scrollBar.max / this.list_rule.totalPage; let index = Math.floor(value / page) if (index > 5) index = 5;...
来源: Laya_社区 发布时间: 20180724
...ial; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:Sprite3D = this.findChild(monkey,"bonepoint"); //将盒子精灵添加到找到的骨骼节点上 bonePoint&&bonePoint.addChild(box); })); ``` > 节点查找 ```typescript /** * 查找节点 * @param sp 精灵 * @param ...
来源: Laya2.0_文档 发布时间: 20210715
...ial; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:Sprite3D = this.findChild(monkey,"bonepoint"); //将盒子精灵添加到找到的骨骼节点上 bonePoint&&bonePoint.addChild(box); })); ``` > 节点查找 ```typescript /** * 查找节点 * @param sp 精灵 * @param ...
来源: Laya2.0_文档 发布时间: 20210714
...e3D = res.getChildByName("LayaMonkey") as Sprite3D; //查找节点 var bonePoint:Sprite3D = findChild(monkey,"bonepoint"); //将盒子精灵添加到找到的骨骼节点上 bonePoint&&bonePoint.addChild(box); })); ``` > 节点查找 ```typescript /** * 查找节点 * @param sp 精灵 * @param name ...
来源: Laya2.0_文档 发布时间: 20210714
...ey_05.png" if (index + 1 == i) { skin = "ui/round_okey_06.png" } this[`img_point${i}`].skin = skin; } this.m_index = index; } } public onChange(value: number): void { let page = this.list_rule.scrollBar.max / this.list_rule.totalPage; let index = Math.floor(value / page) if (index > 5) index = 5;...
来源: Laya_社区 发布时间: 20170215
...imageData,charData.x,charData.y,charData.w,charData.h,"no-repeat",new Laya.Point(-charData.x,-charData.y)); charSp.size(charData.w,charData.h) charSp.scrollRect = new Laya.Rectangle(charData.x,charData.y,charData.w,charData.h); this.addChild(charSp); return charSp; } // 设置位置 private setChars...
来源: Laya_社区 发布时间: 20161014
...udes/UnityShadowLibrary.cginc(98) (on d3d11) Compiling Vertex program with POINT SHADOWS_CUBE SHADOWS_SOFT EnableReflection LIGHTMAP_OFF Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_B...
来源: Laya_社区 发布时间: 20190518
...a.Browser.height); //为第四个参数gridSize创建一个512*512大小的Point对象实例 var gridSize = new Laya.Point(512, 512); //创建TiledMap地图 this.tMap.createMap("res/TiledMap/orthogonal.json",viewRect, Laya.Handler.create(this,onMapLoaded), null, gridSize) ``` ### 3.3 合并图层 ##...
来源: Laya2.0_文档 发布时间: 20210715
...nStartSize minVerticalEndRadian minVerticalStartRadian minVerticalVelocity pointEmitterPosition pointEmitterPositionVariance pointEmitterVelocity pointEmitterVelocityAddVariance positionVariance ringEmitterCenterPosition ringEmitterRadius ringEmitterUp ringEmitterVelocity ringEmitterVelocityAddVaria...
来源: Laya3.0_api 发布时间: 20231115
... this._dataDic = null; this._tempMapPos = new Laya.Point(); this.layerName = null; } init (layerData, map) { this._map = map; this._mapData = layerData.data; var tHeight = layerDat...
来源: Laya_社区 发布时间: 20220627