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

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

1441. laya.display.AnimationBase_API3.0 [ 49%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1442. LayaAir中怎么使用node.js 的 socket.io [ 49%]

...ct(); as的使用方法 var xx:* = __JS__('io.connect()'); xx.on('connect',function():void{trace("dddd")}); piaobo80 • 2017-08-18 14:12 如果ts呢引入js后改怎样在ts中调用呢? Laya_XS • 2017-08-19 14:36 你需要弄个TS的接口提示文件,引入js在ts中是一样的 p...

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

1443. layaMaxUI.ts的自动生成代码bug [ 49%]

... '../SceneBase' import View=Laya.View; import Dialog=Laya.Dialog; var REG: Function = Laya.ClassUtils.regClass; export module ui { export class MainSceneUI extends Laya.SceneBase { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("MainScene"); } } REG("ui.MainSc...

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

1444. laya.device.media.Video_API3.0 [ 49%]

...Node.ts:218 Parameters node: Node Returns Node callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:611 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1445. Animation 使用疑问 [ 49%]

...时大概 playAniBody(actionName: string, direction: number, completeFun: Function = null): void {          this.aniBody.destroyChildren();          this.aniBody.clear();         let loopPlay: boolean = true;         let key: string = actionName + "_" + Math.abs(direction);     ...

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

1446. laya3.0 [场景启动前闪屏] 我想在闪屏界面加个进度但是onProgress接口有问题 [ 49%]

...请教下有小伙伴用过闪屏里面onProgress接口嘛(index.html内的function onProgress),我想在闪屏界面加个进度。为什么接口回调的参数progress是从0到0.5啊,我的引擎版本是3.0.0正式版。我现在为了显示0-100这么用这个回调  Math.trunc(progress ...

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

1447. laya.d3.core.particleshuriken.module.shape.BoxShape_API3.0 [ 49%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface Inherited property

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

1448. layabox AS3调用JS的示例有吗?(谢谢)。如果没有麻烦指点一二。求助。 [ 49%]

... 2017-04-17 0 1 分享 微博 QZONE 微信 debuggerx 赞同来自: private function initCannon():void { var CANNON:Object = Browser.window.CANNON; world = new CANNON.World(); world.gravity.set(0, 0, -9.8); // 设置碰撞检测类型 world.broadphase = new CANNON.NaiveBroadphase(); var groundShape:O...

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

1449. laya.d3.graphics.VertexElementFormat_API3.0 [ 49%]

...gle Vector2 Vector3 Vector4 getElementInfos Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

1450. laya.display.FrameAnimation_API3.0 [ 48%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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