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

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

4071. laya.d3.core.scene.Scene3D_API3.0 [ 35%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

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

4072. Unity插件导出带蒙皮数据的模型,laya里加载抛出异常 [ 35%]

..._guaiwu_goutouren.lm"); var wolf = new Laya.SkinnedMeshSprite3D(wolfmesh); this.scene.addChild(wolf);抛出异常信息见附件     附件 : --> 2018-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 14 个回复 qian ...

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

4073. 多线程worker(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 35%]

...要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //实例UI界面 var testView = ui.test.TestPageUI(); Laya.stage.addChild(testView); } ``` `WorkerLoader.workerPath = "libs/worker.js";`设置worker.js的路径,这个worker.js是Laya官...

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

4074. IDE1.7.19.1beta打包apk后后,播放spine动画出现图片缺失 [ 35%]

...spine.pos(100, 400); spine.load('res/spine/princess1.sk', new Laya.Handler(this, () => { Laya.stage.addChild(spine); spine.play(0, true); })); index.html  <html> <head> <meta charset='utf-8' /> <title>XXXXX</title> <meta name='viewport' content='width=device-widt...

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

4075. 程序蓝图 · LayaAir3.4 · 引擎文档 · LAYABOX [ 34%]

...constructor(eee: string) { super(); } onTest(name: string, type: string) { this.event('onTest', 'test'); } @bpFunction({ params: [{ name: "name", type: "string" }], type: "event", returnType: "void" }) onEventTest(name: string) { } } 通过createNew创建TestBluePrint类的实例后,就可以看...

来源: Laya3.0_文档 发布时间: 20251010

4076. laya.d3.math.OrientedBoundBox [ 34%]

...ve any scaling applied to it. Anyway, scaling using Scale method will keep this method accurate. 该包围盒是否包含空间中另一OBB包围盒 Parameters obb:OrientedBoundBox — OBB包围盒 Returnsint — 返回位置关系 containsPoint()method  public function containsPoint(point:Vector3)...

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

4077. 多线程worker(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 34%]

...er.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 var testView:TestView = new TestView(); Laya.stage.addChild(testView); } } } ``` ​ `WorkerLoader.workerPath = "libs/worker.js";`设置worker.js的路...

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

4078. 2.12.2beta1 诸多bug [ 33%]

...weight:bold'>HTMLDivElement</span>"; ele.on(Laya.Event.LINK, this, (event: Laya.Event) => { console.log(event); }); Laya.stage.addChild(ele); zyy • 2021-11-09 13:51 @Laya_Fred: 这段代码 很简单 只是点击 输出 event 如果 把Laya.stage.y 向下调整 就会导致它点...

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

4079. laya.display.Animation_API3.0 [ 33%]

...模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.init(); } private init(): void { var animation:Animation = new Laya.Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation....

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

4080. 如何使用vscode编译laya项目 [ 32%]

...reTest/.laya/compile.js compile Debugger listening on port 48982. Warning: This is an experimental feature and could change at any time. laya_ide_time.require.single.gulp-util: 7.87ms gulp.js:8 laya_ide_time.require.single.pretty-hrtime: 2.2ms gulp.js:8 laya_ide_time.require.single.chalk: 10.4ms gul...

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