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

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

261. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 78%]

...被添加到舞台后 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

262. laya.d3.graphics.IndexBuffer3D [ 78%]

... 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

263. laya.d3.core.particleShuriKen.module.shape.ConeShape [ 78%]

...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

264. laya.d3.core.particleShuriKen.module.shape.ConeShape [ 78%]

...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

265. laya.d3.core.light.PointLight [ 78%]

...。 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

266. 保存数据的数组在回调的时候变为undifine [ 78%]

... 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

267. laya.d3.core.light.DirectionLight [ 78%]

...。 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

268. layaair1.7.9 beta版,给图片加上颜色滤镜,效果有问题 [ 78%]

...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

269. laya.ui.ViewStack [ 78%]

...nly] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获...

来源: laya_api 发布时间: 20170929

270. laya.d3.terrain.TerrainFilter [ 78%]

...ferStateTerrainFilter  _currentNumberIndices : intTerrainFilter  _indexArrayBuffer : Uint16ArrayTerrainFilter  _indexBuffer : IndexBuffer3DTerrainFilter  _maxNumberIndices : intTerrainFilter  _numberTriangle : intTerrainFilter  _numberVertices : intTerrainFilter  _vertexBuffer : Vertex...

来源: Laya2.0_api 发布时间: 20190513