大约有 1,599 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0078 秒)
Laya_社区(983) Laya2.0_文档(205) Laya3.0_api(176) Laya2.0_api(99) laya_api(85) Laya3.0_文档(33) Laya_示例(9) Laya2.0_示例(9)
...,会看到所有的横竖屏属性: function setOrientation(s) { var nameToVal = { landscape: 0, portrait: 1, user: 2, behind: 3, sensor: 4, nosensor: 5, sensor_landscape: 6, sensorLandscape: 6, sensor_portrait: 7, sensorPortrait: 7, reverse_landscape: 8, reverseLandscape: 8, reverse_portrait: 9...
来源: Laya3.0_文档 发布时间: 20241024
...{ "version": "0.2.0", "configurations": [ { "name": "Launch Chrome", "request": "launch", "type": "chrome", "url": "http://localhost:18091", "webRoot": "${workspaceFolder}/src", "sourceMapPathOverrides": { ...
来源: Laya_社区 发布时间: 20230213
...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
...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
...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
...次addChild子节点 查找 根据名字,获取子节点对象getChildByName(name: string) 当我们知道某个节点的名字时,可以用个此方法找到父节点下一级的某个子节点 根据子节点的索引位置,获取子节点对象getChildAt(index:number) 当我们知道某个...
来源: Laya3.0_文档 发布时间: 20230303
...下: { "type":"Sprite3D", "props":{"name":""}, "customProps":{"translate":[0,0,0],"rotation":[0,0,0,-1],"scale":[1,1,1]}, "child":[ { "type":"Sprite3D", "props":{"...
来源: Laya_社区 发布时间: 20170605
...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
...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_文档 发布时间: 20241014
...[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