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

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

151. laya.resource.AtlasResource_API3.0 [ 84%]

...archy Resource AtlasResource Index Constructors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _se...

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

152. new Laya.Sprite();绘制图形以后,怎么删除释放资源? [ 84%]

...ics.clear()就可以了。   如果整个对象都不想要了。使用sp.destroy()直接销毁这个对象。当销毁整个对象的时候,这时可以不用再使用clear。因为destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机...

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

153. laya.d3.physics.PhysicsComponent_API3.0 [ 84%]

...eWith ccdMotionThreshold ccdSweptSphereRadius colliderShape collisionGroup destroyed enabled friction hideFlags id isActive restitution rollingFriction simulation Methods _initialize _setOwner destroy getPhysicsOrientation getPhysicsPosition hasHideFlag onAdded onAwake onDestroy onDisable onEnable o...

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

154. 分享:DrawToCanvas内存释放问题! [ 84%]

...ps://ask.layabox.com/question/1726) if(htmlC&&texture) { texture.destroy(); } //截屏主要代码 count ++; htmlC=sp.drawToCanvas(800,800,0,0);//绘制 当前Sprite 到 Canvas 上,并返回一个HtmlCanvas。 texture= new Texture(htmlC);//将htmlCanvas赋值给texture对象 sp2 = new Sp...

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

155. laya.d3.component.animator.AnimatorController_API3.0 [ 84%]

...matorController Index Constructors constructor Properties _id clipsID data destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMe...

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

156. laya.physics.ChainCollider_API3.0 [ 84%]

...ture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor loop points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart...

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

157. laya.resource.Prefab_API3.0 [ 84%]

...y Resource Prefab PrefabImpl Index Constructors constructor Properties _id destroyedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreate...

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

158. laya.d3.renderobjs.renderobj.RenderElementOBJ_API3.0 [ 84%]

...haderInstances _transform Methods _addShaderInstance _clearShaderInstance _destroy _render drawGeometry Constructors constructor new RenderElementOBJ(): RenderElementOBJ Defined in laya/d3/RenderObjs/RenderObj/RenderElementOBJ.ts:28 Returns RenderElementOBJ Properties _geometry _geometry: IRenderGeo...

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

159. laya.d3.animation.AnimationClip_API3.0 [ 84%]

...archy Resource AnimationClip Index Constructors constructor Properties _id destroyedImmediately islooping lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL...

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

160. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 84%]

...criptPath Accessors awaked boundsMax boundsMin checkLOD customBatchRenders destroyed enableCustomBatchRender enableMergeBatchRender enableStaticInstanceBatchRender enabled hideFlags id importance probePosition type Methods _initialize _motionInVolume _reCaculateBoundBox _setOwner destroy hasHideFlag...

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