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

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

1. CameraMoveScript.as在哪儿下载群里的有错 [ 100%]

...ger; /** * ... * @author */ public class CameraMoveScript extends Script { protected var lastMouseX:Number; protected var lastMouseY:Number; protected var yawPitchRoll:Vector3 = new Vector3(); protected var resultRotation:Quaternion = new Quaternion(); protected var tempRotationZ:Quaternion = new Qu...

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

2. 2.0版本可用的CameraMoveScript.ts [ 96%]

...s CameraMoveScript extends Laya.Script {      /** @private */     protected _tempVector3: Laya.Vector3 = new Laya.Vector3();     protected lastMouseX: number;     protected lastMouseY: number;     protected yawPitchRoll: Laya.Vector3 = new Laya.Vector3();     protected resul...

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

3. 自动旋转后残影 [ 96%]

...aya.utils.Browser; import laya.utils.Tween;     public class testVH {   protected var _tip:Sprite; public function testVH() { IEventDispatcher; Config.isAlpha = true; Config.isAntialias = true; Laya.init(0, 0,true); Laya.stage.bgColor = "#000000"; ChangeSize(); Laya.timer.once(1000,this,function ...

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

4. as中 slider的两个private类改为protected [ 94%]

LayaAir引擎 as中 slider的两个private类改为protected 在进行自定义组件时,发现 laya.ui.Slider中有两个 private 的方法 mouseUp, mouseMove,因为使用了private,所以子类不能继承,不能修改。 2016-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

5. 鼠标穿透问题 [ 93%]

...ndler; import laya.webgl.WebGL; public class Bootstrapper extends Sprite { protected var _list:List; protected var _items:Array; protected var _loadingBg:Sprite; public function Bootstrapper() { Laya.init(696, 1118, WebGL); Laya.stage.bgColor = "#232628"; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; ...

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

6. FontChip不能显示 [ 91%]

...blic class FontClip extends Clip {         /**数值*/         protected var _valueArr:String;         /**文字内容数组**/         protected var _indexMap:Object;         /**位图字体内容**/         protected var _sheet:String;         /**@private ...

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

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

... number; /// <summary> /// Camera target angls. /// </summary> protected targetAngles: Vector3 = new Vector3(); /// <summary> /// Target distance from camera to target. /// </summary> protected targetDistance: number; //protected camera: Laya.Camera; constructor() { super(); ...

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

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

... number; /// <summary> /// Camera target angls. /// </summary> protected targetAngles: Vector3 = new Vector3(); /// <summary> /// Target distance from camera to target. /// </summary> protected targetDistance: number; //protected camera: Laya.Camera; constructor() { super(); ...

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

9. API里 Tab控件的的内容为什么看不到的 [ 86%]

...,只显示如下: Public Properties Show Inherited Public Properties Protected Properties Show Inherited Protected Properties Public Methods Show Inherited Public Methods Protected Methods Show Inherited Protected Methods Events Show Inherited Events 都有什么属性、什么事件都不知道...

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

10. 浏览器失去焦点的时候能强制保持帧频吗? [ 86%]

...候能强制保持帧频吗? //避免切换页面的时候fp掉到2帧 protected var channel:SoundChannel; protected var sound:Sound; protected function wakeUp():void { /*强迫至少保持8FPS sound = new Sound(new URLRequest("")); sound.play(); sound.close(); */ //*/强迫保持原本设定的FP...

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