大约有 1,796 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1183) Laya2.0_api(183) laya_api(162) Laya3.0_api(119) Laya2.0_文档(51) Laya_示例(41) Laya2.0_示例(35) Laya3.0_文档(22)
...被添加到舞台后 onEnable(): void { // 给List对象赋值 var data: Array<any> = []; for (var m: number = 0; m < 20; m++) { data.push({ m_label: "No." + m }); } this.list.array = data; } } 代码中,m_label的命名要与List列表项下的Label组件命名相同。 1.2.5 运行查...
来源: Laya3.0_文档 发布时间: 20251010
... Function[static] 创建IndexBuffer3D。 IndexBuffer3D _enableAtributes : Array[static] Buffer indexCount : int[read-only] 获取索引个数。 IndexBuffer3D indexType : String[read-only] 获取索引类型。 IndexBuffer3D indexTypeByteCount : int[read-only] 获取索引类型字节数...
来源: laya_api 发布时间: 20170929
...n(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 ConeShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):void[override] ConeShape _getSpeedBoundBox(boundBox:BoundBox):vo...
来源: laya_api 发布时间: 20170929
...n(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 ConeShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):void[override] ConeShape _getSpeedBoundBox(boundBox:BoundBox):vo...
来源: Laya2.0_api 发布时间: 20190513
...。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true)...
来源: laya_api 发布时间: 20170929
... public function update():void { Utils.removeAll(panelHeroInfo); var heros:Array = GameMain.mainModel.heros.Heros; //获取 MainModel里的武将信息 var leng:int = heros.length; var item:HeroResolveItem; var heroInfo:SHeroInfo; for (var i:int = 0; i < leng; i++) { heroInfo = heros[i]; if (_her...
来源: Laya_社区 发布时间: 20170321
...。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true)...
来源: laya_api 发布时间: 20170929
...exture = tx; Laya.stage.addChild(spr); spr.x = 300; spr.y = 100; var color:Array = ; color.push( 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, 0, 0, 1, 0); var filter:ColorFilter = new ColorFilter(color); spr.filters = [filter]; 附件 : --> 2017-08-25 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20170825
...nly] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获...
来源: laya_api 发布时间: 20170929
...ferStateTerrainFilter _currentNumberIndices : intTerrainFilter _indexArrayBuffer : Uint16ArrayTerrainFilter _indexBuffer : IndexBuffer3DTerrainFilter _maxNumberIndices : intTerrainFilter _numberTriangle : intTerrainFilter _numberVertices : intTerrainFilter _vertexBuffer : Vertex...
来源: Laya2.0_api 发布时间: 20190513