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

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

721. laya.display.Sprite_API3.0 [ 23%]

...mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针对不同的情况做了渲染优化...

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

722. 一篇了解LayaAir的屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 22%]

...(宽,高)`值对应的就是设计宽高。如`Laya.init(750, 1334);`。 打开LayaAirIDE,通过F9快捷键调出的面板里,可以直接设置,效果如图6所示。 ![图6](img/6.png) (图6) #### 1.7 画布宽高 众所周知,``是HTML5中的画布,其 `width、heigth` 属性就...

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

723. laya.ui.ColorPicker_API3.0 [ 18%]

...ns EventDispatcher open open(): void Defined in laya/ui/ColorPicker.ts:284 打开颜色样本列表面板。 Returns void parentRepaint parentRepaint(type?: number): void Inherited from Text.parentRepaint Defined in laya/display/Sprite.ts:1647 cacheAs时,设置所有父对象缓存失效。 Parame...

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

724. laya.ui.ComboBox_API3.0 [ 17%]

...ue: boolean): void Defined in laya/ui/ComboBox.ts:516 表示下拉列表的打开状态。 Returns boolean Defined in laya/ui/ComboBox.ts:520 表示下拉列表的打开状态。 Parameters value: boolean Returns void itemColors get itemColors(): string set itemColors(value: string): void Defined in...

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