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

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

231. 当屏幕尺寸,缩放模式,横竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null [ 88%]

...生改变时会报错Uncaught TypeError: Cannot read property 'length' of null 2017-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 182*****369 赞同来自: cuixueying 已解决,当destroy函数调用时会...

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

232. laya.map.MapLayer [ 88%]

...age对象和UI的View组件默认为true。 Sprite  layerName : String = null当前Layer的名称MapLayer  _mapData : Array = nullMapLayer mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示。 【注意】遮罩对象坐标系是相...

来源: laya_api 发布时间: 20170929

233. 2.8.0beta2视频纹理,加载视频报null [ 88%]

2.8.0beta2视频纹理,加载视频报null 参照示例:https://layaair2.ldc2.layabox.com/demo2/?language=zh&category=3d&group=Advance&name=VideoPlayIn3DWorld 附件 : --> 2020-09-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

234. can not read property "elements" of underfined [ 88%]

...operty 'cursor' of undefined错误 Cannot read property 'displayObject' of null Uncaught TypeError: Cannot read property 'props' of undefined 子弹添加了colliderShape后onUpdate移动,destroy会报错“Cannot read property 'getWorldTransform' of null” 使用as3开发时候添加事件.on会...

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

235. SimpleButton的状态layaFlash支持吗? [ 88%]

...。get upState,get overState,get downState,get hitTestState 都返回null; set upState,set overState,set downState,set hitTestState 都不可设置。 例如:var btn:SimpleButton = new SimpleButton(_upState, _overState, _downState, _hitTestState); trace(btn.upState); //Output:null tr...

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

236. laya.maths.Rectangle [ 88%]

...形。 此方法会修改本对象。 Rectangle  clone(out:Rectangle = null):Rectangle 返回一个 Rectangle 对象,其 x、y、width 和 height 属性的值与当前 Rectangle 对象的对应值相同。 Rectangle  contains(x:Number, y:Number):Boolean 确定由此 Rectangle 对象定义的...

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

237. laya.device.motion.Accelerator [ 88%]

...d By  Accelerator(singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation...

来源: laya_api 发布时间: 20170929

238. 用Socket连接服务器,服务端显示已经有登录,但Event.OPEN没有触发 [ 88%]

...ctor extends Socket     {         protected var sendBuf:Byte = null;         protected var recvBuf:Byte = null;                  public function CConnector()         {             this.sendBuf = this.output;             this.recvBuf...

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

239. Laya3D [ 88%]

...tic] private Laya3D  init(width:Number, height:Number, config:Config3D = null, compolete:Handler = null):void[static] 初始化Laya3D相关设置。 Laya3DPublic Constants ConstantDefined By  ANIMATIONCLIP : String = ANIMATIONCLIP[static] AnimationClip资源。Laya3D  AVATAR : String = AVATAR...

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

240. laya.ui.MoreGame [ 88%]

...存管理,本属性只读,请不要直接修改Scene url : String = null场景地址Scene viewport : Rectangle 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地...

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