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

大约有 215 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)

101. 自定义对话框设置zOrder后,关闭时报错 [ 64%]

自定义对话框设置zOrder后,关闭时报错 var CountdownBar = (function () { function countdownBar() { PauseDialog.super(this); this.name = 'CountdownBar'; Laya.stage.addChild(this); this.zOrder = 100; this.count = 4; this.countLabel.text = '' + this.count; Laya.timer.loop(1000, this, this...

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

102. UNITY导出的模型旋转不了 [ 64%]

...享 微博 QZONE 微信 GameMonkey 赞同来自: 补充下主要的代码(function(global){ var Laya3D = global.Laya3D; var Laya = global.Laya; Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); Laya.Scene3D.load('/1/res...

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

103. laya.device.media.Video [ 64%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node  canPlayType(type:int):String 检测是否支持播放指定格式视频。 Vi...

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

104. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 63%]

...f = this; Util3d.loadRes( [ this.sMapRes, this.sBullRes, this.sEnemyRes ], function (bIsFinish) { if (bIsFinish) { self.onResFinish(); } } ) } onResFinish() { let pNewScene = <Laya.Scene3D>Util3d.getRes(this.sMapRes, false) Laya.stage.addChild(pNewScene); Util3d.getChildByPath(pNewScene, "Main...

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

105. laya.display.EffectAnimation [ 63%]

...是在完成当前帧画面更新之后。 AnimationBase callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clear():AnimationBase[override] 停止动画播放,并清理对象属性。...

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

106. laya.media.SoundNode [ 63%]

...ren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含 node 节点。 Node customRender(context:RenderContext, x:Number, y:Number):void 自定义更新...

来源: laya_api 发布时间: 20170422

107. Animation 下的Event.COMPLETE 回调 [ 63%]

...,OnAnimation());                                   function OnAnimation():void{                                    _gameTableScene["donghua"+ transformToDesignIndex(msg.index)].visible =false;                 _gameTableScene["donghua"+ tran...

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

108. 重发问题: 点击页面会导致setTimeout setInterval 延迟执行 [ 63%]

...一样会导致setInterval明显延迟执行; Laya.stage.on('click', null, function (e) { console.log.log(`click`); }); 即使我将所有的事件绑定全部注释掉频繁的点击页面也会卡住!!!!! 我在事件的处理函数中设置stopPropagation没有任何作用; 现在这个是一个...

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

109. laya.physics.ChainCollider_API3.0 [ 63%]

...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Inherited constructor Inherited property Inherited method Inherited accessor Class Class with type parameter Accessor Enumeration Interface

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

110. 播放动画(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 63%]

...运用播放动画名方式,效果如(图6)。 ```typescript public function onComplete():void{ ................. var monkey:Sprite3D = Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); //加载到场景 scene.addChild(monkey); //让摄影机指向角色 camera.transform.look...

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