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

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

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

...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...

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

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

...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...

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

23. Clip切片动画有无播放完成的回调方法?有无检测播放次的方法? [ 53%]

...如下方法,但是没有效果,求解。 this.clip_wpLevelup.on(Laya.Event.STOPPED, this, this.stopAndShowLvupResult); 2018-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: http:/...

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

24. android旋转屏幕 半边黑屏 [ 52%]

... "内容测试"; spr.addChild(te); Laya.stage.addChild(spr); Laya.stage.on(Event.CLICK, this, function():void { if (Laya.stage.screenMode == Stage.SCREEN_HORIZONTAL) { if (Browser.window.conchConfig) { Browser.window.conchConfig.setScreenOrientation(1); } Laya.stage.screenMode = Stage.SCREEN_VERTICA...

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

25. laya.display.Sprite_API3.0 [ 49%]

...一个 Sprite 实例。 package { import laya.display.Sprite; import laya.events.Event; public class Sprite_Example { private var sprite:Sprite; private var shape:Sprite public function Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef"...

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

26. laya.ui.FrameClip [ 46%]

...l Classes | Index | Frames No Frames FrameClipProperties | Methods | Events Packagelaya.uiClasspublic class FrameClipInheritanceFrameClip FrameAnimation AnimationPlayerBase Sprite Node EventDispatcher Object 关键帧动画播放类 Public Properties Hide Inherited Public Properties Show Inhe...

来源: laya_api 发布时间: 20170422

27. laya.display.Sprite [ 46%]

...All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有...

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

28. laya.display.Sprite [ 46%]

...All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectImplements laya.display.ILayoutSubclasses AnimationPlayerBase, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle...

来源: laya_api 发布时间: 20170929

29. 我在Layasample主类中,检测键盘按下并输出一切正常,可是放到其他类里面则能检测到按键按下,却一直输出undefined [ 45%]

... {         GameStart.super(this);         Laya.stage.on(Laya.Event.KEY_DOWN,LayaSample,Test);     }     function Test(e){         console.log(e.keycode);             }   按下按键后一直输出undefined,在入口类里面却能输出对应按键编号,是...

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

30. 有关Laya3D碰撞检测疑问 [ 44%]

...F40"; Laya.stage.addChild(this.label);  //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function (): void { var str: String = ""; for (var i: number = 0; i < this._outHitAllInfo.length; i++) { str += this._outHitAllInfo.sprite3D.name + " "; } if (this._outHitAllInfo.length == 0) { str = ...

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