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

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

551. laya.ui.ViewStack_API3.0 [ 79%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ViewStack" ViewStack Class ViewStack ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Hierarchy Box ...

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

552. laya.ui.VBox_API3.0 [ 79%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/VBox" VBox Class VBox VBox 是一个垂直布局容器类。 Hierarchy LayoutBox VBox Index Constructors constructor Properties ...

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

553. TiledMap移动问题 [ 79%]

...edMap移动问题 我想移动tilemap,在mouseMove的时候用tiledmap的x和y加上偏移量来移动: this.tiledMap.moveViewPort(this.tiledMap.x + offsetX, this.tiledMap.y + offsetY);     offsetX和offsetY就是当前laya.stage点 减去 上一个laya.stage点,移动时地图会一闪一...

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

554. 关于3d项目中component的问题 [ 79%]

... Laya.Vector3(0, 0, 0); function CmpScript() { CmpScript.super(this); this.x = 0; } Laya.class(CmpScript, "CmpScript", Laya.Script) CmpScript.prototype._initialize = function (owner) { var _this = this; CmpScript.__super.prototype._initialize.call(this, owner); } CmpScript.prototype._update = functi...

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

555. laya.ui.HBox_API3.0 [ 79%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/HBox" HBox Class HBox HBox 是一个水平布局容器类。 Hierarchy LayoutBox HBox Index Constructors constructor Properties ...

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

556. laya.ani.bone.Skeleton_API3.0 [ 79%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/bone/Skeleton" Skeleton Class Skeleton 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Hierarchy Sprite S...

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

557. 如何在代码中new Poly [ 79%]

...y 如题,然后设置它的  renderType   这样也不行 : this.imgExpedition = new component.HomeScaleFilterImg(3, 655, "home/imgExpedition.png", 0); this._sprHome.addChildAt(this.imgExpedition, 0); this.homeScaleFilterImgList.push(this.imgExpedition);  Laya.timer.once(2000, this, () => ...

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

558. 怎么像canvas那样做到每次循环去清空一次画布,我发现每次画的时候他会把上一次的坐标也画出来,导致变形了,该如何让他每次累加的同时清空上次的路径 [ 79%]

...,该如何让他每次累加的同时清空上次的路径 var sp; var x = 0; export default class Scene extends Laya.Sprite{ constructor(){ super(); Laya.init(500, 300, Laya.WebGL); var bg = new Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.mo...

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

559. 1.7.19版本如何升级到2.0版本 [ 79%]

...ew和dialog都被scene替代,在语法上支持ES6,我用js开发的1.7x项目在2.0的IDE中直接运行暂时没有遇到bug,如果是AS3或TS的已有项目,可能转换的工作量比较大 2019-02-21 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 目前不推荐将引起1.x的项...

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

560. laya.ui.Panel [ 79%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PanelProperties | Methods | Events Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Propert...

来源: laya_api 发布时间: 20170929