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

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

801. laya.display.Stage [ 49%]

...值为Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).sca...

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

802. 求助,屏幕旋转后滚动条没有跟随旋转 [ 49%]

...tends ui.dialog.WanFUI { constructor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChild(panel); let t = new Laya.Label(); t.width = 638; t.fontSize = 25; t.wordWrap = true; ...

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

803. 图片mask失效问题. [ 49%]

...添加到舞台上了,而是显示对象的内部,所以设置mask的pos方法的时候,要注意坐标点是相对于被遮罩对象的而并非舞台 你的问题可能是由于mask的位置超出了遮罩范围导致的,你改下坐标看下 whzooo • 2016-09-24 09:27 演示加载这个 ...

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

804. laya.particle.Particle2D_API3.0 [ 49%]

...rialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY...

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

805. laya.media.SoundNode_API3.0 [ 49%]

...rialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY...

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

806. laya.map.GridSprite_API3.0 [ 49%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY...

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

807. dialog的lock属性没出现 [ 49%]

... button:Button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDING, CLOSE_BTN_PADDING); dialog.addChild(button); dialog.dragArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.popup(); } } } 2017-07-06 1 0 分享 微博 QZONE 微...

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

808. DragonBone动画使用(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 49%]

... new Skeleton(); //添加到舞台 Laya.stage.addChild(skeleton); skeleton.pos(600,350); //通过加载直接创建动画 skeleton.load("res/DragonBones/rooster/Rooster_Ani.sk"); } } } ``` 运行效果如动图6所示 ![动图6](img/6.gif) (动图6)

来源: Laya2.0_文档 发布时间: 20210714

809. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 48%]

... Properties _nativeObj MemoryBlock_size tmpVec3 Accessors localMatrix localPosition localPositionX localPositionY localPositionZ localRotation localRotationEuler localRotationEulerX localRotationEulerY localRotationEulerZ localRotationW localRotationX localRotationY localRotationZ localScale localSc...

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

810. 我想移动容器来实现前进的动画,但是移动不了。这里的y有问题 但是又不知道改成什么 [ 48%]

...); bg2.loadImage("war/bc.png"); //更改背景2 放在背景1的上面 bg2.pos(0,852); Laya.stage.addChild(this); Laya.timer.frameLoop(1,this,myLoop);   } function myLoop(){ this.y=Laya.stage; // console.log("y is"+y); this.y+=1; // 如果背景图到了下面不可见的位置,立即调整位置...

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