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

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

371. laya.display.Scene_API3.0 [ 58%]

... viewport visible width x y zOrder root Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fresh...

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

372. 浏览器最小化后降帧的问题 [ 58%]

...rite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); Laya.stage.addChild(sp); Browser.window.setInterval(function():void { sp.x+=5; },100); 2017-06-02 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 w445015385 相关问题 发...

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

373. 鼠标 MOUSE_DOWN Event 回来的信息不符合 [ 58%]

...ite() { picture = new Sprite(); picture.loadImage(picturePath); Laya.stage.addChild(picture); var texture = Laya.loader.getRes(picturePath); picturePath.pivot(texture.width / 2, texture.height / 2); picture.x = Laya.stage.width / 2; picture.y = Laya.stage.height / 2; picture.scale(cardScaleValue, ca...

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

374. laya.ui.View_API3.0 [ 58%]

... viewport visible width x y zOrder root Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fresh...

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

375. 分享一下自己的屏幕适配方案 [ 57%]

... this.Img.x =0; this.Img.y =0; this.Img.url ="../game/1.png"; Laya.stage.addChild(this.Img); //获取图片初始x y轴坐标 this.ImgX=this.Img.x; this.ImgY =this.Img.y; this.layout(); Laya.stage.on(Laya.Event.RESIZE, this, this.layout); Laya.stage.on(Laya.Event.ADDED, this, this.layout);   layout...

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

376. laya.display.Text [ 57%]

...ethods MethodDefined By  Text() 创建一个新的 Text 实例。 Text addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

377. laya.display.Text [ 57%]

...ethods MethodDefined By  Text() 创建一个新的 Text 实例。 Text addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  changeText(text:String):void ...

来源: laya_api 发布时间: 20170929

378. 【悬赏版】动态更换SkinedMeshSprite3D对象,替换后,对象缩小了 [ 57%]

...quipSkinedMeshSprite3D:Laya.SkinnedMeshSprite3D; this.role3D.getChildAt(0).addChild(equipSkinedMeshSprite3D); equipSkinedMeshSprite3D.transform.scale = new Laya.Vector3(2.54, 2.54, 2.54);   补充:         衣服单独添加到场景没有问题,         添加到人物上,就会出...

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

379. laya.display.Input [ 57%]

...ds MethodDefined By  Input()创建一个新的 Input 类实例。Input addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

380. 关于对象池Laya.Pool的用法 [ 57%]

...sp = Pool.getItemByClass(SPRITE_SIGN, Sprite) sprites.push(sp); Laya.stage.addChild(sp); } } initialize(); Laya.stage.on("click", this, function() {     var sp;     for(var i = 0, len = sprites.length; i < len; i++)     {         sp = sprites.pop();       ...

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