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

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

481. laya.map.TiledMap_API3.0 [ 66%]

...eViewPort changeViewPortBySize createMap destroy getLayerByIndex getLayerByName getLayerObject getMapProperties getSprite getTexture getTileProperties getTileUserData mapSprite moveViewPort setViewPortPivotByScale Constructors constructor new TiledMap(): TiledMap Defined in laya/map/TiledMap.ts:144 ...

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

482. Laya api 中可能的bug [官方来看] [ 66%]

...return this._zOrder; },function(value){ if (this._zOrder !=value){ if(this.name.length > 0){ console.debug("zOrder:"+this.name+" order:"+value); } this._zOrder=value; this.conchModel && this.conchModel.setZOrder && this.conchModel.setZOrder(value); if (this._parent){ value &&a...

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

483. 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同时滚动一模一样。 [ 66%]

...te OnRankLisLabRender(item:component.UIButton, index: number): void { item.name = index.toString(); item.onClick(this,this.OnCliickItem); } /** 点击item单个道具的时候*/ private OnCliickItem(item: component.UIButton) { let index = parseInt( item.name ); }

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

484. 求ShuriKenParticle3D用法 [ 66%]

...下: { "type":"Sprite3D", "props":{"name":""}, "customProps":{"translate":[0,0,0],"rotation":[0,0,0,-1],"scale":[1,1,1]}, "child":[ { "type":"Sprite3D", "props":{"...

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

485. laya.d3.core.light.DirectionLight_API3.0 [ 66%]

...irectionLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowCascadesMode sh...

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

486. 节点管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

...次addChild子节点 查找 根据名字,获取子节点对象getChildByName(name: string) 当我们知道某个节点的名字时,可以用个此方法找到父节点下一级的某个子节点 根据子节点的索引位置,获取子节点对象getChildAt(index:number) 当我们知道某个...

来源: Laya3.0_文档 发布时间: 20251010

487. LayaAir开发笔记(1)五十音图连连看 [ 65%]

...[index] = new Laya.Sprite(); Laya.stage.addChild(card[index]); card[index].name = index; card[index].graphics.drawRect(0, 0, 80, 120, null, "#000000", 2); card[index].graphics.loadImage("linkgame_card.jpg"); card[index].size(80, 120); card[index].pos(10 + 100 * i, 130 + 140 * j); card[index].on(Laya...

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

488. 网格像素线 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

...3D</code> 实例。 * @param maxCount 最大线段数量。 * @param name 名字。 */ constructor(maxCount: number = 2, name: string = null) { super(name); this._render = this.addComponent(PixelLineRenderer); this._geometryFilter = (this._render as PixelLineRenderer)._pixelLineFilter; (this._...

来源: Laya3.0_文档 发布时间: 20251010

489. ToolTip鼠标悬停的使用 [ 65%]

...是button Two" _tip.showDislayTip(_testTip); } private function showTips2(name:String):void { _testTip.my_label.text="我是:" name; _tip.showDislayTip(_testTip);//自定义鼠标悬浮提示请用showDislayTip } } }显示效果: 简单悬浮提示   自定义悬浮提示 自定义携带参数悬...

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

490. 引擎 TiledMap 居然不支持图块翻转 [ 65%]

...             this._tileTextureSet = null;             this._aniName = null;         }         setTileTextureSet (aniName, tileTextureSet) {             this._aniName = aniName;             this._tileTextureSet = tileTextureSet;             tileTextureSet.addAniS...

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