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

大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0067 秒)

2691. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 26%]

...c var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /**初始化消息监听**/ public function init():void { //接收主域透传的数据 if(MiniAdpter.is...

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

2692. 3D中摄像机绕物体旋转该如何实现? [ 25%]

...ublic get TouchCount(): number { if (Laya.TouchManager.I._event.touches == null) { return 0; } else { return this.myevent.touches.length; } } public get Touchs(): Array<any> { return this.myevent.touches } public get GetAxisX(): number { return Laya.stage.mouseX - this.lastMouseX; } public get...

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

2693. laya.d3.math.native.ConchVector3_API3.0 [ 25%]

...e z: number = 0 Z轴坐标。 Default value nativeElements: Float32Array = null Returns ConchVector3 Properties elements elements: Float32Array Defined in laya/d3/math/Native/ConchVector3.ts:35 [只读]向量元素集合。 Static ForwardLH ForwardLH: ConchVector3 = new ConchVector3(0, 0, 1) Defined...

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

2694. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 25%]

...W/VivoUnion.CommandClient: [SA]sendCommandToServer error, remoteService is null! command = ShowAssitViewCommand 10-13 17:31:16.011 6514-6514/com.vivo.vs I/VivoUnion.SdkToApkInvoker: [SA]reconnect remote server.. command = com.vivo.unionsdk.cmd.ShowAssitViewCommand@360e2552 10-13 17:31:16.021 6514-65...

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

2695. 求ShuriKenParticle3D用法 [ 25%]

...   let self = this;                 Laya.timer.loop(300, null, function () {                     console.log('8: ' + self.particleSystem.aliveParticleCount);                 });             }         }     } } 执行结果一直...

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

2696. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 25%]

...of Component) { let comp = sprite.getComponent(componentType); if (comp != null) { lists.push(comp); } for (var i = 0; i < sprite.numChildren; i++) { let child = sprite.getChildAt(i) as Sprite; this.findCompents(lists, child, componentType); } } //组件被激活后执行,此时所有节点和...

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

2697. 官方案例里摄像机绕物体旋转脚本的问题 [ 25%]

...ublic get TouchCount(): number { if (Laya.TouchManager.I._event.touches == null) { return 0; } else { return this.myevent.touches.length; } } public get Touchs(): Array<any> { return this.myevent.touches } public get GetAxisX(): number { return Laya.stage.mouseX - this.lastMouseX; } public get...

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

2698. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 25%]

...为: import { MyDialog } from "./MyDialog"; Editor.showDialog(MyDialog, null); 八、扩展内置菜单 支持对编辑器现有菜单的扩展。如以下代码,在应用程序菜单栏的工具菜单下,新增了一个test的菜单,并且点击菜单会调用test函数。 class AnyName { @...

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

2699. laya.resource.VideoTexture_API3.0 [ 24%]

... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...

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

2700. laya.maths.Matrix4x4_API3.0 [ 24%]

...r = 0 Default value m44: number = 1 Default value elements: Float32Array = null Returns Matrix4x4 Properties elements elements: Float32Array Defined in laya/maths/Matrix4x4.ts:402 矩阵元素数组 Static Readonly DEFAULT DEFAULT: Readonly<Matrix4x4> = new Matrix4x4() Defined in laya/maths/Ma...

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