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

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

121. laya.physics.PhysicsDebugDraw_API3.0 [ 35%]

...辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active...

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

122. laya.display.Sprite_API3.0 [ 35%]

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

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

123. 项目发布详解(含命令行发布)(TypeScript-IDE篇(TS)-代码模式基础) [ 34%]

...则编辑界面,比如我们点击是否压缩图片的色块区域,会打开压缩图片的规则编辑界面,如图2-2所示。 ![图3](img/2-2.png) (图2-2) `文件夹`文件夹默认是bin目录,可以指定压缩范围到其子目录或更低一级的目录,但是不允许跳出bin目...

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

124. [LayaAirIDE3]xcode切入切出声音不播放 [ 33%]

...问题, 并且请您说明复现问题的流程,比如用什么方法打开demo,然后进行什么操作,就能复现问题 2025-10-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gaden 相关问题 游戏运行在chrome里面 ...

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

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

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

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

126. laya.ui.Tree_API3.0 [ 31%]

...识别为树结构的文件夹开启状态图表。2帧:折叠状态、打开状态。 folder.x = 14; folder.y = 4; this.addChild(folder); var label = new laya.ui.Label("treeItem"); label.name = "label";//设置 label 的name 为“label”时,此值将用于树结构数据赋值。 label.color ...

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

127. laya.ui.Dialog [ 29%]

...义自己的管理器,来更改窗口管理的流程。 任意对话框打开和关闭,都会触发管理类的open和close事件Dialog mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示。 【注意】遮罩对象坐标系是相对...

来源: laya_api 发布时间: 20170929

128. laya.ui.Dialog_API3.0 [ 27%]

...义自己的管理器,来更改窗口管理的流程。 任意对话框打开和关闭,都会触发管理类的open和close事件 Returns DialogManager Defined in laya/ui/Dialog.ts:168 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理,可以自定义自己...

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

129. laya.ui.ComboBox_API3.0 [ 26%]

...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

130. laya.ui.ColorPicker_API3.0 [ 24%]

...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