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

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

631. 请教,namspace 定义后,怎么使用里面的 [ 65%]

...空间方式,换成module后依然不行。   namespace Test { export class TestOne { Show(){ alert("调用成功!"); } } } Main.Ts ConfigLoaded 函数 onConfigLoaded(): void {                  var testOne=new Test.TestOne();//失败 未找到Test.TestOne         testOne...

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

632. layaMaxUI.ts的自动生成代码bug [ 64%]

...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

633. Laya2.8.0的wxmini库小BUG反馈 [ 64%]

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

634. laya.d3.component.animator.AnimatorControllerLayer_API3.0 [ 64%]

...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

635. laya.d3.math.Viewport [ 64%]

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

636. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 64%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ​ ProgressBar 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ 设置 ProgressBar 组件的属性 value 的值为 0.3 后,显...

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

637. laya中js 如何实现Sprite继承 [ 64%]

...nction Role () { Role._super.call(this); /***一些基础信息***/ } Laya.class( Role , "Role" , Sprite ); var _proto_ = Role.prototype; /******/ return Role; })(); 2018-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2...

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

638. laya.d3.core.render.BloomEffect_API3.0 [ 64%]

...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

639. Laya.Script的派生的_update函数不工作? [ 64%]

...的_update函数不工作? 我从Laya.Scriptextends了一个自己的class,贴在一个物体上,运行的时候脚本的_start函数中的log正常打印出来了,但是_update函数中的log没有打印 _update(state:Laya.RenderState) { console.log("state:", state.elapsedTime); } 请...

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

640. laya.utils.Timer_API3.0 [ 64%]

...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