大约有 1,049 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0063 秒)
Laya_社区(509) Laya3.0_api(241) Laya2.0_api(137) laya_api(108) Laya2.0_文档(36) Laya3.0_文档(17) Laya2.0_示例(1)
...ned By density : Number密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改善堆叠稳定性,默认值为10ColliderBase destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component fixtur...
来源: Laya2.0_api 发布时间: 20190513
...eakObject Class WeakObject 封装弱引用WeakMap 如果支持WeakMap,则使用WeakMap,如果不支持,则用Object代替 注意:如果采用Object,为了防止内存泄漏,则采用定时清理缓存策略 这里的设计是错误的,为了兼容,先不删掉这个类,直接采用...
来源: Laya3.0_api 发布时间: 20231115
...行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRend...
来源: Laya3.0_api 发布时间: 20231115
...onents/CommonScript.ts:25 创建后只执行一次 此方法为虚方法,使用时重写覆盖即可 Returns void onDestroy onDestroy(): void Overrides Component.onDestroy Defined in laya/components/CommonScript.ts:73 销毁时执行 此方法为虚方法,使用时重写覆盖即可 Returns void...
来源: Laya3.0_api 发布时间: 20231102
...Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获...
来源: Laya3.0_api 发布时间: 20231115
... Defined in laya/resource/Resource.ts:95 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取...
来源: Laya3.0_api 发布时间: 20231102
.../core/render/ScreenTriangle.ts:43 创建一个 ScreenTriangle 实例,禁止使用。 Returns ScreenTriangle Properties destoryedImmediately destoryedImmediately: boolean Inherited from Resource.destoryedImmediately Defined in laya/resource/Resource.ts:104 是否在引用计数为0的时候立马删...
来源: Laya3.0_api 发布时间: 20231102
...ed in laya/display/Node.ts:91 是否已经销毁。对象销毁后不能再使用。 Returns boolean displayedInStage get displayedInStage(): boolean Inherited from Node.displayedInStage Defined in laya/display/Node.ts:473 表示是否在显示列表中显示。 Returns boolean hideFlags get hideFla...
来源: Laya3.0_api 发布时间: 20231102
...信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 TS项目使用matter.js库无智能提示 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? 请问在layaIDE里,怎么调用微信小程序API 如何实现微信登录? 微信小程序—未找到...
来源: Laya_社区 发布时间: 20180512
...响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String[override] 指定显示对象...
来源: Laya2.0_api 发布时间: 20190513