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

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

691. 加载.lh文件 运行后黑屏 无法显示 [ 35%]

... Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         Laya.Stat.show();     //var resource = [{url: "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", type: Laya3D.HIERARCHY, priority: 1}];     //Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete));     ...

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

692. 有关Laya3D碰撞检测疑问 [ 35%]

...tage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show();  var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene;  this._outHitAllInfo = new Array<Laya.RaycastHit>();  //初始化照相机 this.camera = scene.addChild(new Laya.Camera(0, 0.1, 10...

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

693. 鼠标交互-滑动 [ 34%]

...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.createSprite(); this.drawTrack(); } createSprite() { const Sprite = Laya.Sprite, Event = Laya.Event; const w = 50; const h = 30; this.button...

来源: Laya2.0_示例 发布时间: 20260106

694. 文本-滚动文本 [ 34%]

...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createText(); })(); function createText() { txt = new Text(); txt.overflow = Text.SCROLL; txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发行商,面向AS/JS/TS...

来源: Laya_示例 发布时间: 20260106

695. laya.display.Stage [ 34%]

...改进手机耗电。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  alignH : String 水平对齐方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage  alignV...

来源: laya_api 发布时间: 20170929

696. laya.ui.Dialog_API3.0 [ 34%]

... dialog.dragArea = "0,0,150,50";//设置 dialog 的拖拽区域。 dialog.show();//显示 dialog。 dialog.closeHandler = new Handler(this, onClose);//设置 dialog 的关闭函数处理器。 } private function onClose(name:String):void { if (name == Dialog.CLOSE) { trace("通过点击 name 为" + ...

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

697. 文本-滚动文本 [ 34%]

...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createText(); } createText() { const Text = Laya.Text, Event = Laya.Event; this.txt = new Text(); Laya.stage.addChild(this.txt); this.txt.overflow = Text.SCROLL; this.txt.text = "...

来源: Laya2.0_示例 发布时间: 20260106

698. laya.display.Text [ 34%]

...体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alp...

来源: laya_api 发布时间: 20170929

699. laya.display.Text [ 33%]

...体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  align : String 表示文本的水平显...

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

700. laya.net.LoaderManager [ 33%]

...认重试一次LoaderManagerPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  LoaderManager() 创建一个新的 LoaderManager 实例。 注意:请使用Laya.loader加载资源,这是一个单例,不要手动实例化此类,否则会导致不可...

来源: laya_api 发布时间: 20170929