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

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

291. Layabox web 复制一段文字到剪贴板 [ 75%]

...d.on("success", function (e) { console.log("ok:") console.log(e) clipboard.destroy(); }) clipboard.on("error", function (e) { console.log("err:") console.log(e) clipboard.destroy(); })  //确认按钮 this.confirmBtn.onclick = function () { _this.CloseDivAndInfoMesg(this); } // 创建弹出层 遮...

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

292. laya.d3.terrain.TerrainChunk [ 74%]

...veInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Spr...

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

293. laya.d3.physics.CharacterController [ 74%]

...Component collisionGroup : int 获取所属碰撞组。 PhysicsComponent destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean[override] 获取是否启用组件。 PhysicsComponent  fallSpeed : Number 获取角色降落速度。 CharacterController friction :...

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

294. 调用原生js [ 74%]

...无法显示以及加载所有资源都失败 创建模型以后,调用destroy,以前clone的对象也消失了 调用动画结束on方法,报错this.zombieAnimator.on is not a function Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 Laya2.1.0 JS调用Jav...

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

295. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 74%]

...RGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount shaderData stencilOp stencilRef stencilTest stencilWrite cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL...

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

296. laya.physics.joint.PrismaticJoint [ 74%]

...效]两个刚体是否可以发生碰撞,默认为falsePrismaticJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component  enableLimit : Boolean是否对刚体的移动范围加以约束PrismaticJoint  enableMotor : Bo...

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

297. [LayaAir3]资源内存泄漏 [ 74%]

...行减少引用。 4。Graphics有对材质mmaterial添加引用,没有destroy阶段减少引用。 5。Spine2DRenderNode.source 没有考虑加载回来后,当前组件被销毁问题。 6。Value2D.clear 时候没有对 textureHost进行清理 7。WebBaseRenderNode.destroy 时没有对 shaderD...

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

298. laya.d3.physics.constraints.ConstraintComponent [ 74%]

...nnectedBody : Rigidbody3D 获取已连接的刚体。 ConstraintComponent destroyed : Boolean[read-only] 获取是否已经销毁 。 Component  enabled : Boolean[override] 获取是否启用组件。 ConstraintComponent id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolea...

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

299. laya.components.AnimatorControllerLayer2D_API3.0 [ 74%]

...essors defaultState defaultStateName states Methods addState clone cloneTo destroy getCurrentPlayState getStateByName removeState Constructors constructor new AnimatorControllerLayer2D(name: string): AnimatorControllerLayer2D Defined in laya/components/AnimatorControllerLayer2D.ts:81 实例化一个...

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

300. laya3.0 [场景管理] 关闭场景 显存并未下降 [ 74%]

...候把场景1的资源丢弃。 做法1.两个场景的Scene2D属性Auto Destroy At Closed 都勾选 场景1跳转场景2的代码       private onynYesBtn(evt: Laya.Event): void {         console.log("[BtnClick] [onynYesBtn!]");         //this.yn_board_Cc.selectedIndex = 0;         ...

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