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

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

1341. 有关Laya3D碰撞检测疑问 [ 34%]

....RaycastHit>;  private camera: Laya.Camera; private label: Laya.Label; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show();  var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya....

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

1342. laya.display.Text_API3.0 [ 34%]

...d(text);//将 text 添加到显示列表。 } example class Text_Example { constructor() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.onInit(); } private onInit(): void { var text: laya.display.Text = new laya...

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

1343. laya的ide如何import js并调用里面的类和方法?VS Code正常。 [ 34%]

...st t = require("./test/TestExportClass"); // 程序入口 class GameMain { constructor() { // Laya.init(600,400); console.log("start"); var exportCls = new t.TestExportCls(); exportCls.callFunc(); } } new GameMain(); } http://requirejs.org/docs/errors.html#mismatch at makeError (file:///E:/laya/Test...

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

1344. laya.ui.AdvImage_API3.0 [ 33%]

...广告插件 author 小松 date -2018-09-19 Hierarchy Image AdvImage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX ...

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

1345. laya.ui.Button_API3.0 [ 33%]

...n=laya.ui.Button; import Handler=laya.utils.Handler; class Button_Example{ constructor() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", laya.utils.Handler.create(this,this.onLoadComplete));//加载资源。 } private ...

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

1346. laya.ui.CheckBox_API3.0 [ 33%]

...ya.ui.CheckBox; import Handler=laya.utils.Handler; class CheckBox_Example{ constructor() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,this.onLoadComplete));//加载资源。 } private onLoadComple...

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

1347. laya.ui.ColorPicker_API3.0 [ 33%]

...orPicker; import Handler = laya.utils.Handler; class ColorPicker_Example { constructor() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this, this.onLoadComplete));//加载...

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

1348. laya.ui.View_API3.0 [ 33%]

...所以在3.0里请忽略这个继承。 Hierarchy Scene View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet activ...

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

1349. laya.ui.HSlider_API3.0 [ 33%]

...lider = laya.ui.HSlider; class HSlider_Example { private hSlider: HSlider; constructor() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(thi...

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

1350. laya.ui.ViewStack_API3.0 [ 33%]

...,用于视图的显示等设置处理。 Hierarchy Box ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColo...

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