大约有 10 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0051 秒)
精灵(GWidget)text和icon精灵(GWidget) Author: 谷主 Background 为精灵设置背景颜色,边框宽度,边框颜色。 Grayed 勾选后,精灵将呈现一个变灰的状态。注意,变灰不代表不能点击,如果需要不能点击,还需要另外设置Mouse Enabled属...
来源: Laya3.0_文档 发布时间: 20251010
...cted Title 选中状态时的标题,对单选或多选按钮有意义。 Icon 图标。必须先设置好Icon Widget。 Selected Icon 选中状态时的图标,对单选或多选按钮有意义。 Title Color 标题颜色。 Title Font Size 标题字号。 Mode 按钮模式。 Common 普通按钮...
来源: Laya3.0_文档 发布时间: 20251010
...omboBox) Author: 谷主 Title 标题。必须先设置好Title Widget。 Icon 图标。必须先设置好Icon Widget。 Title Color 标题颜色。 Title Font Size 标题字号。 Items 每个item的标题。 Values 每个item的值。用于代码逻辑。 Icons 每个item的图标。 Popup Direct...
来源: Laya3.0_文档 发布时间: 20251010
...n": "一段描述文本,用于说明该插件的作用和使用说明", "icon": "editorResources/icon.png", "author": "layabox" } 安装后的效果如图3-1所示 (图3-1) [!Tip] 需要注意的是,插件中的所有图片(包括icon图)必须要放到editorResources目录下,否则...
来源: Laya3.0_文档 发布时间: 20251010
...layControls.addChild(gui.UIPackage.createWidgetSync("~/ui/basic/Button/FlatIconButton.widget")); btn.name = "packUI"; btn.setSize(16, 16); btn.icon = "~/ui/icons/global.svg"; //这里可以换显示图标 btn.onClick(() => { //false 为启动场景,true为当前场景。 //editor 为编辑器...
来源: Laya3.0_文档 发布时间: 20251216
...与操作2、 基础2.1 名称 name2.2 显示名称 displayName2.3 图标 icon2.4 版本 version2.5 输出目录 outputPath3、脚本3.1 压缩引擎库 useCompressedEngine3.2 压缩JS文件 minifyJS3.3 生成源代码映射 sourcemap3.4 包含源代码 sourcesContent4、资源选项4.1 启动场景...
来源: Laya3.0_文档 发布时间: 20251023
...块” => “3D” => “物理系统” 中选择使用Cannon.js", "icon": "editorResources/cannon.png", "author": "layabox", "contributes": { "engine": [ { "name": "laya.physics3D", "addons": [ { "name": "Cannon.js", "files": [ "laya.cannon.js" ] } ] } ] } } 3.1.2 导入本地安装包 点...
来源: Laya3.0_文档 发布时间: 20251010
...rls = [ "resources/ui/button.png", "resources/ui/panel.png", "resources/ui/icon.png" ]; Laya.loader.load(urls).then(() => { atlasManager.addTexturesByUrl(urls); }); 2.3 移除纹理 移除指定纹理 //接口 removeTexture(textureId: number, largeTextureIndex: number = -1, event: boolean = true)...
来源: Laya3.0_文档 发布时间: 20260131
...Depth Texture 勾选后,开启深度纹理 1.9.2 Gizmos 参数 作用 3D Icons 设置场景中摄像机图标的大小 Show Grid 勾选后,场景中将显示水平面的网格线 Selection Outline 勾选后,选中的模型将显示外边框 1.10 场景视图刷新频率 点击图1-10所示的...
来源: Laya3.0_文档 发布时间: 20251010
... textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?: boolean): gui.Button; createCheckbox(autoSize?: boolean): gui.Button; createIconCheckbox(flat?: boolean): gui.Button; createRadio(): gui.Button; createComboBox(): gui.ComboBox; createTextInput(): TextInput; ...
来源: Laya3.0_文档 发布时间: 20251010