大约有 1,557 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0056 秒)
Laya_社区(551) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(69) Laya2.0_示例(2)
...空间方式,换成module后依然不行。 namespace Test { export class TestOne { Show(){ alert("调用成功!"); } } } Main.Ts ConfigLoaded 函数 onConfigLoaded(): void { var testOne=new Test.TestOne();//失败 未找到Test.TestOne testOne...
来源: Laya_社区 发布时间: 20190824
...ide编辑模式中使用 运行demo 按F12 生成 代码如下/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import SceneBase from '../SceneBase' import View=Laya.View; import Dialog=Laya.Dialog; var REG: Function = Laya.ClassUtils.regClass; expor...
来源: Laya_社区 发布时间: 20190418
Laya2.8.0的wxmini类库小BUG反馈 class MiniFileMgr { static isLocalNativeFile(url) { for (var i = 0, sz = MiniAdpter.nativefiles.length; i < sz; i++) { if (url.indexOf(MiniAdpter.nativefiles[i]) == 0) return true; } return false; }[/i] (Laya2.8.0切换类库后发现)判断不应为==0 ...
来源: Laya_社区 发布时间: 20201107
...aya/d3/component/Animator/AnimatorControllerLayer" AnimatorControllerLayer Class AnimatorControllerLayer AnimatorControllerLayer 类用于创建动画控制器层。 Hierarchy AnimatorControllerLayer Implements IClone Index Constructors constructor Properties blendingMode defaultWeight enable name p...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewportProperties | Methods Packagelaya.d3.mathClasspublic class ViewportInheritanceViewport Object Viewport 类用于创建视口。 Public Properties PropertyDefined By height : Number高度Viewport maxDepth : ...
来源: Laya2.0_api 发布时间: 20190513
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ProgressBar 组件的资源示例:  (图1)  (图2) 设置 ProgressBar 组件的属性 value 的值为 0.3 后,显...
来源: Laya2.0_文档 发布时间: 20210715
...nction Role () { Role._super.call(this); /***一些基础信息***/ } Laya.class( Role , "Role" , Sprite ); var _proto_ = Role.prototype; /******/ return Role; })(); 2018-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2...
来源: Laya_社区 发布时间: 20181012
...s Only exported Menu Globals "laya/d3/core/render/BloomEffect" BloomEffect Class BloomEffect BloomEffect 类用于创建泛光效果。 Hierarchy PostProcessEffect BloomEffect Index Constructors constructor Properties clamp color dirtTexture fastMode Accessors active anamorphicRatio diffusion dirtIn...
来源: Laya3.0_api 发布时间: 20231102
...的_update函数不工作? 我从Laya.Script类extends了一个自己的class,贴在一个物体上,运行的时候脚本的_start函数中的log正常打印出来了,但是_update函数中的log没有打印 _update(state:Laya.RenderState) { console.log("state:", state.elapsedTime); } 请...
来源: Laya_社区 发布时间: 20180614
...ll Inherited Externals Only exported Menu Globals "laya/utils/Timer" Timer Class Timer Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Hierarchy Timer Index Constructors constructor Properties currFrame currTimer scale Accessors delta M...
来源: Laya3.0_api 发布时间: 20231115