大约有 1,754 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1137) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(42)
... ['uiView',function(){return this.uiView={"type":"View","props":{"width":600,"height":400}};} ]); return ABCPanelUI; })(View); var TestPageUI=(function(_super){ function TestPageUI(){ TestPageUI.__su...
来源: Laya_社区 发布时间: 20161017
...Through name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation glob...
来源: Laya3.0_api 发布时间: 20231115
...I extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor(){ ...
来源: Laya_社区 发布时间: 20200228
... } let list = new Laya.List; list.width = this.itemList.width; list.height = this.itemList.height; list.x = this.itemList.x; list.y = this.itemList.y; list.spaceY = 12; list.vScrollBarS...
来源: Laya_社区 发布时间: 20170310
...反而是对的,这按理是bug吧 // sp3.pos(Laya.stage.width/2,0); Laya.stage.addChild(sp3); Laya.timer.frameLoop(2,null,function() { sp3.rotation = sp3.rotation+10; } ...
来源: Laya_社区 发布时间: 20191112
...{ public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; ...
来源: Laya_社区 发布时间: 20200228
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...tPrior window[`hitTestPrior`] = () => { let box1 = new Laya.Box(); box1.width = box1.height = 500; let sp = new Laya.Sprite(); sp.graphics.drawRect(0, 0, box1.width, box1.height, `#999900`); box1.addChild(sp); box1.clickHandle = () => { lizheng.log(`点击了box1`); } box1.hitTestPrior = false...
来源: Laya_社区 发布时间: 20170918
...le.log("Laya.stage.height = ", Laya.stage.height); console.log("Laya.stage.width = ", Laya.stage.width);在加载完资源后,我打印了stage的宽高。在测试的时候,有一些机子出了问题。 正常的,安卓机测试 不正常,iphone7 ,用其他苹果手机测试也是行的。...
来源: Laya_社区 发布时间: 20180530
...new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are.width, this.are.height, "#00ff00"); _fish.x = 300 _fish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_...
来源: Laya_社区 发布时间: 20180315