大约有 10 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
...BatchShader #include "Math.glsl"; #include "Scene.glsl"; #include "SceneFogInput.glsl" #include "Camera.glsl"; #include "Sprite3DVertex.glsl"; #include "VertexCommon.glsl"; #include "PBRVertex.glsl"; varying float spriteCustomData; void main() { Vertex vertex; getVertexParams(vertex); PixelParams pi...
来源: Laya3.0_文档 发布时间: 20251010
输入文本组件(TextInput)1. LayaAir IDE中使用TextInput1.1 创建TextInput1.2 TextInput属性1.3 脚本控制TextInput2. Textinput代码创建输入文本组件(TextInput) 1. LayaAir IDE中使用TextInput 文本输入框是游戏中经常会用到的一个UI组件,任何需要输入的时...
来源: Laya3.0_文档 发布时间: 20251010
...TextField)文本 (GTextField) Author: 谷主 输入文本是对引擎Input组件的封装,所有属性和引擎的Input组件含义一致,可参考引擎文档,在此不再赘述。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:58...
来源: Laya3.0_文档 发布时间: 20251010
...序列帧动画(atlas文件)的url。 文本处理:GTextField、GTextInput GTextField用于显示静态文本,是对引擎Text类的封装,支持显示普通文字、富文本、图文混排等。 GTextInput用于接收用户输入的文本,是对引擎Input类的封装。 布局容器: ...
来源: Laya3.0_文档 发布时间: 20251010
...e_ img_ Button 按钮 button_ btn_ ComboBox 下拉框 comboBox_ combo_ TextInput 文本输入 textInput_ input_ TextArea 文本域 textArea_ area_ CheckBox 多选框 checkBox_ check_ Label 显示文本 label_ 无缩写 RadioGroup 单选框组 radioGroup_ 无缩写 Radio 单选框 radio_ 无缩写 Ta...
来源: Laya3.0_文档 发布时间: 20251010
... Laya.init(100,100); var file:any = Laya.Browser.document.createElement("input"); file.type = "file"; file.style.position = "absolute"; file.style.zIndex = 999; Laya.Browser.document.body.appendChild(file);//添加到舞台 var fileReader:any = new Laya.Browser.window.FileReader(); file.onchange = f...
来源: Laya3.0_文档 发布时间: 20251010
...串数据", msg); } // 清除输入缓存,避免残留数据 this.socket.input.clear(); } /** 连接关闭回调 */ private onSocketClose(e: any): void { console.log("WebSocket 连接已关闭", e); } /** 连接错误回调 */ private onConnectError(e: any): void { console.error("WebSocket 连接...
来源: Laya3.0_文档 发布时间: 20251010
...图编辑窗口下,右键空白处,选择ShaderFunction选项,选择Input In选项卡 图7-2 7.3 自动返回值 在最后的Default Output Result节点,输入的数据类型决定了该Shader函数的输出类型,函数蓝图会自动判断输出类型,如下图所示 图7-3 7.4 函数...
来源: Laya3.0_文档 发布时间: 20251010
...wait gui.UIPackage.createWidget("editorResources/UI/MyWidget.widget"); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改变了!"); }) } } 四、程序化生成界面 4.1 常用方法 除了使用UI编辑器制作界面...
来源: Laya3.0_文档 发布时间: 20251010
....readUTFBytes()); } // 清理缓存的服务端发来的数据 this.socket.input.clear(); } // 出现异常后的事件回调 private onConnectError(e: Event = null): void { console.log("error"); } 3.2 Laya.Byte 二进制读写 在开发项目中,二进制的操作是不可或缺的。在html5时...
来源: Laya3.0_文档 发布时间: 20250104