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

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

311. WebGL模式下清理资源有问题 [ 66%]

...你需要将显示列表下的显示、数据和资源一并移除。 sp.destroy(true); sp.removeSelf(); sp=null; Loader.clearRes(url,true);    2017-01-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 laya5652 相关问题 laya2的Sce...

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

312. laya.d3.physics.Rigidbody3D_API3.0 [ 66%]

...eWith ccdMotionThreshold ccdSweptSphereRadius colliderShape collisionGroup destroyed detectCollisions enabled friction gravity hideFlags id isActive isKinematic isSleeping isTrigger linearDamping linearFactor linearVelocity mass orientation overrideGravity position restitution rollingFriction simula...

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

313. laya.display.AnimationBase [ 66%]

...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显...

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

314. 百度小游戏 内存不断增大的情况 [ 66%]

...is.removeUi,[testView]); } __proto.removeUi=function(ui){ if(ui!=null){ ui.destroy(); this.isOpen=false; } }  代码主要是做了重复打开关闭一个界面,调用界面的destroy方法,运行一段时间发现内存在不断增大。请问这是BUG还是我的代码写的不对。 Laya引...

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

315. 缓动 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...缓动会自动停止。一般情况下,如果任务的目标对象有 destroyed 属性,则不需要设置此属性。如果任务的目标对象没有 destroyed 属性,则可以设置此属性。 * @returns 返回一个Tween对象。 */ static create(target?: any, lifecycleOwner?: { destroyed...

来源: Laya3.0_文档 发布时间: 20251010

316. 在Canvas模式下 drawTexture出错 [ 66%]

...GL模式下正常 Canvas模式下 在短时间内连续调用drawTexture和destroy会报错 Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasEleme...

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

317. laya.display.Scene_API3.0 [ 66%]

...除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Hierarchy Sprite Scene View Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAt...

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

318. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 66%]

...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

319. laya.physics.joint.WheelJoint_API3.0 [ 66%]

...d otherBody owner runInEditor scriptPath selfBody Accessors awaked damping destroyed enableLimit enableMotor enabled frequency hideFlags id joint lowerTranslation maxMotorTorque motorSpeed upperTranslation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable...

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

320. laya.d3.core.light.PointLightCom_API3.0 [ 66%]

...ties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType range shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength Methods _initialize _setOwner destro...

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