大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0059 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...): StaticBatchManager Defined in laya/d3/graphics/StaticBatchManager.ts:71 创建一个 StaticBatchManager 实例。 Returns StaticBatchManager Methods Static combine combine(staticBatchRoot: Sprite3D, renderableSprite3Ds?: RenderableSprite3D[]): void Defined in laya/d3/graphics/StaticBatchManager.t...
来源: Laya3.0_api 发布时间: 20231102
...。阅读本篇内容前请先阅读《属性设置器》文档。 ## 1、创建CheckBox组件 CheckBox (多选框)组件由两部分组成,选择状态框及内容说明标签label。其中选择状态框必须是图片资源,标签为文本。在使用 CheckBox组件的时候,可以...
来源: Laya2.0_文档 发布时间: 20210715
...0, 0, // R 0, 0, 0, 0, 0, // G 0, 0, 0, 0, 0, // B 0, 0, 0, 1, 0 // A ]; //创建一个颜色滤镜对象,红色 let redFilter = new ColorFilter(redMat); // 红色的猩猩 let redApe = this.createApe(); redApe.filters = [redFilter]; let firstChild = Laya.stage.getChildAt(0); redApe.x = firstChild.x...
来源: Laya2.0_示例 发布时间: 20250224
...EffectInheritanceBloomEffect PostProcessEffect Object BloomEffect 类用于创建泛光效果。 Public Properties PropertyDefined By anamorphicRatio : Number 获取形变比,通过扭曲泛光产生视觉上形变,负值为垂直扭曲,正值为水平扭曲。 BloomEffect clamp : Number = 65...
来源: Laya2.0_api 发布时间: 20190513
...nt/AnimatorState" AnimatorState Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy AnimatorState Implements IReferenceCounter IClone Index Constructors constructor Properties clipEnd clipStart name speed Accessors clip Methods _addReference _clearReference _getReferenceCount ...
来源: Laya3.0_api 发布时间: 20231102
下拉选项框组件(ComboBox)一、通过LayaAir IDE创建ComboBox组件1.1 创建ComboBox1.2 ComboBox属性1.3 脚本控制ComboBox二、通过代码创建ComboBox组件下拉选项框组件(ComboBox) 一、通过LayaAir IDE创建ComboBox组件 ComboBox是一个下拉选项框组件。Co...
来源: Laya3.0_文档 发布时间: 20240910
显示文本组件(Label)一、通过LayaAir IDE创建Label组件1.1 创建Label1.2 Label 属性1.3 脚本控制Label二、通过代码创建Label组件显示文本组件(Label) 一、通过LayaAir IDE创建Label组件 Label 组件用来显示一段文字。Label 组件的脚本接口请参考 Labe...
来源: Laya3.0_文档 发布时间: 20240910
...me Defined in laya/d3/core/particleShuriKen/module/ColorOverLifetime.ts:16 创建一个 ColorOverLifetime 实例。 Parameters color: GradientColor Returns ColorOverLifetime Properties enable enable: boolean Defined in laya/d3/core/particleShuriKen/module/ColorOverLifetime.ts:9 是否启用。 Acces...
来源: Laya3.0_api 发布时间: 20231115
...ime Defined in laya/d3/core/particleShuriKen/module/SizeOverLifetime.ts:18 创建一个 SizeOverLifetime 实例。 Parameters size: GradientSize Returns SizeOverLifetime Properties enable enable: boolean Defined in laya/d3/core/particleShuriKen/module/SizeOverLifetime.ts:11 是否启用 Accessors si...
来源: Laya3.0_api 发布时间: 20231115
...eta&type=2D&category=UI&class=laya.ui.ViewStack)。 ## 2、通过LayaAirIDE创建ViewStack组件 ### 2.1 创建ViewStack页面 #### 2.1.1 准备美术资源 准备好页面背景图以及需要切换的页面美术资源,放到LayaAirIDE资源管理器对应的项目目录中。 #### 2.1.2 为页...
来源: Laya2.0_文档 发布时间: 20210714