大约有 622 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0118 秒)
...备发送请求的功能。我们写个简单的例子来看下用法: class LayaSample { constructor() { //创建HttpRequest对象 let http: Laya.HttpRequest = new Laya.HttpRequest(); //设置超时时间 http.http.timeout = 10000; //发送了一个简单的请求 http.send("resources/data.txt", ...
来源: Laya3.0_文档 发布时间: 20250104
...herited Externals Only exported Menu Globals "laya/ui/ViewStack" ViewStack Class ViewStack ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Hierarchy Box ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior...
来源: Laya3.0_api 发布时间: 20231115
...代码如下: /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D), ...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames ComboBoxProperties | Methods | Events Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox UIComponent Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选...
来源: Laya2.0_api 发布时间: 20190513
...ted All Inherited Externals Only exported Menu Globals "laya/ui/View" View Class View View 是一个视图类 在2.0里,View继承自Scene类,但这是不合理的,Scene是一个2D+3D的大概念。所以在3.0里请忽略这个继承。 Hierarchy Scene View Dialog Index Constructors construct...
来源: Laya3.0_api 发布时间: 20231115
...herited Externals Only exported Menu Globals "laya/ui/ScrollBar" ScrollBar Class ScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示区域无法容纳时,最终用户可以使用 ScrollBar 组件控制所显示的数据部分。 滚动条由四部分组成:两个...
来源: Laya3.0_api 发布时间: 20231115
...All Inherited Externals Only exported Menu Globals "laya/ui/Slider" Slider Class Slider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值和最大值)之间滑块的相对位置确定...
来源: Laya3.0_api 发布时间: 20231115
...l Inherited Externals Only exported Menu Globals "laya/ui/UIGroup" UIGroup Class UIGroup Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Hierarchy Box UIGroup RadioGroup Tab Index Constructors constructo...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames InputProperties | Methods | Events | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类...
来源: Laya2.0_api 发布时间: 20190513
...Inherited Externals Only exported Menu Globals "laya/ui/AdvImage" AdvImage Class AdvImage 广告插件 author 小松 date -2018-09-19 Hierarchy Image AdvImage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx ...
来源: Laya3.0_api 发布时间: 20231102