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

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

261. laya.ui.Slider_API3.0 [ 70%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean disabled get disabled(): boolean set disabled(value: boolean): void Inherited from UIComponent.disabled Defined in laya/ui/UIComponent.ts:325 是否禁用页面,设...

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

262. 怎么让对象跟随父对象一同缩放? [ 70%]

...第二方法里 使用了u3D导出来的粒,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 摄像机跟随刚体移动,刚体出现抖动。 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大...

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

263. laya.ui.FontClip_API3.0 [ 69%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean direction get direction(): string set direction(value: string): void Defined in laya/ui/FontClip.ts:106 布局方向。 默认值为"horizontal"。 取值: "horizon...

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

264. laya.ui.UIGroup_API3.0 [ 69%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean direction get direction(): string set direction(value: string): void Defined in laya/ui/UIGroup.ts:443 布局方向。 默认值为"horizontal"。 取值: "horizont...

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

265. laya.display.Text_API3.0 [ 69%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean displayHeight get displayHeight(): number Inherited from Text.displayHeight Defined in laya/display/Sprite.ts:563 对象的显示高度(以像素为单位)。 Ret...

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

266. laya.d3.core.scene.Scene3D_API3.0 [ 69%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean displayHeight get displayHeight(): number Inherited from Text.displayHeight Defined in laya/display/Sprite.ts:563 对象的显示高度(以像素为单位)。 Ret...

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

267. 资源回收的清理不干净的bug [ 69%]

...看,numChildren返回的是“控件数组”当前长度,控件销毁会从从父节点的“控件数组”移除,所以出现这种问题本质上算是js数组的性质,当你从数组里移除了元素,那么数组本身长度也会变化; 所以第一种第二种本身写...

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

268. Laya内存无法释放 [ 69%]

... 1 个回复 Laya_Aaron 赞同来自: clearRes则采用引用计数方式销毁 不是立即销毁 2018-11-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 大林 相关问题 看了其他引擎才发现 LAYA ...

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

269. 属性设置器(JavaScript-IDE篇(JS)-设计模式基础) [ 69%]

...(img/3-1.png) (图3-1) ![动图3-2](img/3-2.gif) (动图3-2) ### 2.2 场景销毁关闭设置(autoDestoryAtClosed) `autoDestoryAtClosed`场景被关闭后,是否自动销毁销毁节点和使用到的资源),默认为false。 ![动图3-3](img/3-3.png) (图3-3) ### 2.3 强大的runtime属性...

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

270. 属性设置器(TypeScript-IDE篇(TS)-设计模式基础) [ 69%]

...(img/3-1.png) (图3-1) ![动图3-2](img/3-2.gif) (动图3-2) ### 2.2 场景销毁关闭设置(autoDestoryAtClosed) `autoDestoryAtClosed`场景被关闭后,是否自动销毁销毁节点和使用到的资源),默认为false。 ![动图3-3](img/3-3.png) (图3-3) ### 2.3 强大的runtime属性...

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