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

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

451. laya.d3.component.animation.RigidAnimations [ 50%]

...ntFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[read-only] 获取是否...

来源: laya_api 发布时间: 20170929

452. drawTexture 画出来的数据会有以前的数据 [ 50%]

...eight,0,0); if(!texture) texture = new Texture(htmlCanvas); else { texture.destroy(true); texture = new Texture(htmlCanvas); } IconSpr.graphics.drawTexture(texture); } private function onRun():void { img.x += xNum; img.y += yNum; if(img.x < 0 || img.x > (1280 - 156)) { xNum = -xNum; } if(img.y...

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

453. laya.d3.component.physics.MeshCollider [ 50%]

...ed Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[override] [read-only] 获...

来源: laya_api 发布时间: 20170929

454. laya.display.Graphics [ 50%]

...d 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void 销毁此对象。 Graphics  drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 绘制圆形。 Graphics  drawCurves(x:Number, y:Number, points:Array, ...

来源: laya_api 发布时间: 20170929

455. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 50%]

....Sprite = new Laya.Sprite();` 3. `//将sp内部引用设置为null` 4. `sp.destroy();` 当对象设置为null,不会立即将其从内存中删除。只有系统认为内存足够低时,垃圾回收器才会运行。内存分配(而不是对象删除)会触发垃圾回收。 垃圾回收期...

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

456. laya.d3.component.animation.SkinAnimations [ 50%]

...ntFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[read-only] 获取是否...

来源: laya_api 发布时间: 20170929

457. 把场景中的对像删除,就会报错 [ 50%]

...的玩家和怪物如果从场景中删除的时候调用玩家和怪物的destroy()方法就会出现这个问题,而且以前写简单demo是不会报错的,一般这种情况都是写例子没问题,项目逻辑中就有问题了

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

458. 2.13 2d物理系统 physics 碰撞体信息的owner为null [ 50%]

... 微博 QZONE 微信 π大星 赞同来自: 大概明白了,应该是我 destroy 了组件,所以导致打印出来的组件信息都是null 2022-07-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 π大星 相关问题 sprite旋转以...

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

459. 分包后, 资源加载问题 [ 49%]

...ing100.prototype; console.log("kk7") __proto.cleanMe=function(){ this.load.destroy(true); } console.log("kk8") loading100.FINISH="FN"; console.log("kk9") return loading100; })(Sprite) //class ui.loadingjzaUI extends laya.ui.View var loadingjzaUI=(function(_super){ function loadingjzaUI(){ this.loadi...

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

460. laya.d3.component.Animator [ 49%]

...itanceAnimator Component3D EventDispatcher ObjectImplements laya.resource.IDestroy Animator 类用于创建动画组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  avatar : Avatar 获取avatar。 Animator  cacheFrameRate : int 获...

来源: laya_api 发布时间: 20170929