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

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

171. laya.ui.CheckBox_API3.0 [ 29%]

...示列表。 } private function onClick(checkBox:CheckBox):void { trace("输出选中状态: checkBox.selected = " + checkBox.selected); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load("resource/ui/check.png",...

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

172. 纹理资源 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

...会选择距离采样点最近的像素中心(图右侧浅蓝色)作为输出颜色。 (图2-7) 这种过滤模式在放大的情况下效率非常快,但会有明显的马赛克现象。 这种过滤模式计算效率极高,常用于放大纹理时保持清晰的像素块效果。然而...

来源: Laya3.0_文档 发布时间: 20251128

173. laya.ui.TextInput_API3.0 [ 27%]

...免每次都创建。 Parameters offx: number offy: number tex: Texture2D 输出渲染结果 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional ...

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

174. laya.ui.TextArea_API3.0 [ 27%]

...免每次都创建。 Parameters offx: number offy: number tex: Texture2D 输出渲染结果 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional ...

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

175. laya.ui.ProgressBar_API3.0 [ 27%]

...免每次都创建。 Parameters offx: number offy: number tex: Texture2D 输出渲染结果 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional ...

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

176. laya.ui.Image_API3.0 [ 27%]

...免每次都创建。 Parameters offx: number offy: number tex: Texture2D 输出渲染结果 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional ...

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

177. 绘制能力 · LayaAir3.3 · 引擎文档 · LAYABOX [ 27%]

...明如下: /** * 在画布上绘制文本。 * @param text 在画布上输出的文本。 * @param x 开始绘制文本的 x 坐标位置(相对于画布)。 * @param y 开始绘制文本的 y 坐标位置(相对于画布)。 * @param font 定义字号和字体,比如"20px Arial"。 * @p...

来源: Laya3.0_文档 发布时间: 20251010

178. laya.ui.List_API3.0 [ 27%]

...免每次都创建。 Parameters offx: number offy: number tex: Texture2D 输出渲染结果 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional ...

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

179. laya.display.Text_API3.0 [ 26%]

...免每次都创建。 Parameters offx: number offy: number tex: Texture2D 输出渲染结果 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional ...

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

180. laya.ui.RadioGroup_API3.0 [ 26%]

...免每次都创建。 Parameters offx: number offy: number tex: Texture2D 输出渲染结果 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional ...

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