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

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

971. 体验LayaAir 3.0.0-beta.4遇到的一些问题 [ 43%]

...的刚体销毁重新设置,篮球不会落下来             rig.destroy();             const rigidBody: Laya.Rigidbody3D = this.basketball.addComponent(Laya.Rigidbody3D);             const sphereShape: Laya.SphereColliderShape = new Laya.SphereColliderShape(0.3);          ...

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

972. laya.ui.TextInput_API3.0 [ 43%]

...tom cacheAs centerX centerY color components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize editable filters fitContent focus font fontSize globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea html ignoreLang i...

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

973. Spine动画资源加载时不能同时使用"版本管理"和"URL.basePath" [ 42%]

...含URL.basePath的部分 __proto.onComplete=function(content){ if (this._isDestroyed){ this.destroy(); return; }; var tSkBuffer=Loader.getRes(this._skBufferUrl); if (!tSkBuffer){ this.event(/*laya.events.Event.ERROR*/"error","load failed:"+this._skBufferUrl); return; } //MODIFIED:使用formatPath进...

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

974. Ts简单对象池 [ 42%]

...子节点的索引位置。参数是什么 区块地图增加对象 对象destroy()后的还会耗用内存吗?页面的时间轴动画会跟着被清空吗? 问题状态 最新活动: 2019-12-06 17:30 浏览: 978 关注: 1 人

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

975. Box2D使用Destory join报错? [ 41%]

...yaspace/smallballs/bin/libs/laya.physics.js:38:57)     at box2d.b2World.DestroyJoint (file:///D:/develop/layaspace/smallballs/bin/libs/laya.physics.js:793:295)     at Physics.__proto._removeJoint (file:///D:/develop/layaspace/smallballs/bin/libs/laya.physics.js:3091:15)     at DistanceJoint...

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

976. laya.display.Animation_API3.0 [ 41%]

...orX anchorY autoPlay blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters frames globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY nu...

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

977. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 41%]

...camera)中看sky属性如下 Camera clearFlag : 1 cullingMask : 2147483647 destroyed : false enableRender : true name : "New Sprite3D" sky : SkyDome _bufferState : BufferState _bindedIndexBuffer : IndexBuffer3D _nativeVertexArrayObject : WebGLVertexArrayObjectOES __proto__ : BufferStateBase _indexBu...

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

978. laya.display.Text_API3.0 [ 40%]

...lor blendMode bold borderColor cacheAs color components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters font fontSize globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea html htmlParseOptions is3D italic leading lines mask maxS...

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

979. laya.ui.ColorPicker_API3.0 [ 40%]

...or bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea inputBgColor inputColor is3D left mask mouseEnabled mouse...

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

980. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 40%]

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

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