大约有 277 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0069 秒)
...。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大量的节点绘图改为一个节点的Graphics命令集合,能减少大量节点创建消耗)。 See alsolaya.display.Sprite.graphicsPublic Properties PropertyDefined By cmds : ArrayGraphicsPublic Met...
来源: laya_api 发布时间: 20170929
...in laya/physics/RigidBody.ts:388 是否允许休眠,允许休眠能提高性能 Returns boolean Defined in laya/physics/RigidBody.ts:392 是否允许休眠,允许休眠能提高性能 Parameters value: boolean Returns void angularDamping get angularDamping(): number set angularDamping(value: num...
来源: Laya3.0_api 发布时间: 20231115
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231115
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231115
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231115
...种网格中,盒型天空的顶点数据要更少,所以这种天空的性能要更好一些。 Panoramic Texture:天空盒的纹理贴图(一张球形模型对应的贴图) 2.1.1 立方体天空 立方体天空盒用到的6张可以无缝相接的贴图参考,图2-5所示 (图2-5) 2...
来源: Laya3.0_文档 发布时间: 20251010
...发者能够更好地管理游戏对象的状态和行为,提高游戏的性能和稳定性。 1.5 什么是事件方法 在 LayaAir 引擎中,事件方法是用于响应各种事件的脚本方法。这些事件可以是用户操作(如鼠标点击、键盘输入)、物理状态变化(如...
来源: Laya3.0_文档 发布时间: 20251010
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231115
...。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大量的节点绘图改为一个节点的Graphics命令集合,能减少大量节点创建消耗)。 see laya.display.Sprite#graphics Hierarchy Graphics GraphicsAni AutoBitmap Index Constructors constructor A...
来源: Laya3.0_api 发布时间: 20231115
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 cacheContent cacheContent: boolean Defined in laya/ui/List.ts:221 是否缓存内容,如果数据源较少,并且list内无动画,设置此属性为true能大大提高性能 disableStopScroll dis...
来源: Laya3.0_api 发布时间: 20231115