大约有 772 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0115 秒)
Laya_社区(428) Laya3.0_api(62) Laya2.0_api(58) Laya2.0_文档(57) laya_api(53) Laya_示例(49) Laya2.0_示例(48) Laya3.0_文档(17)
...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以...
来源: Laya2.0_api 发布时间: 20190513
....COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init)); 2018-03-...
来源: Laya_社区 发布时间: 20180323
...自: var bg = new Laya.Sprite(); bg.loadImage("res/bg-480x720.jpg"); Laya.stage.on(Laya.Event.RESIZE,this,onResize); function onResize() { var scale,scaleX,scaleY; scaleX = Browser.clientWidth/480; scaleY = Browser.clientHeight/720; scale = scaleX > scaleY ? scaleX : sc...
来源: Laya_社区 发布时间: 20161118
...的时候%号会换到第二行? var text = new HTMLDivElement(); Laya.stage.addChild(text); text.color = "#fff"; text.style.fontSize = 24; text.innerHTML = "子弹命中率:<span style='color: #ee452c'>25</span>\/50 50%"; 用的是最新版本 2017-03-26 添加评论 免费...
来源: Laya_社区 发布时间: 20170326
...ox 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Hierarchy Box ScaleBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx ...
来源: Laya3.0_api 发布时间: 20231115
...entTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX pivotY playbackRa...
来源: Laya3.0_api 发布时间: 20231115
...面间隔就正常,这是什么问题要如何解决呢?谢谢! Laya.stage.on(Event.KEY_DOWN, this, this.onKeyDown); // 回调时间时隔 move right1: characterX: 200, currTime: 1486458463.82 move right1: characterX: 204, currTime: 1486458464.338 move right1: characterX: 208, currTime: 148...
来源: Laya_社区 发布时间: 20170207
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...
来源: Laya3.0_api 发布时间: 20231115
...entTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX pivotY playbackRa...
来源: Laya3.0_api 发布时间: 20231102
... this.preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); Laya.stage.on(Event.MOUSE_MOVE, this, this.onMouseMove); } } p...
来源: Laya_社区 发布时间: 20171201