大约有 428 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
... exported Menu Globals "laya/html/dom/HTMLIframeElement" HTMLIframeElement Class HTMLIframeElement iframe标签类,目前用于加载外并解析数据 Hierarchy HTMLDivElement HTMLIframeElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTest...
来源: Laya3.0_api 发布时间: 20231102
...ited Externals Only exported Menu Globals "laya/map/GridSprite" GridSprite Class GridSprite 地图的每层都会分块渲染处理 本类就是地图的块数据 author ... Hierarchy Sprite GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url aniSpriteAr...
来源: Laya3.0_api 发布时间: 20231115
...s Only exported Menu Globals "laya/html/dom/HTMLDivElement" HTMLDivElement Class HTMLDivElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标签,比如:abc span:行内元素标签,比如:abc p:行元素标...
来源: Laya3.0_api 发布时间: 20231102
...备发送请求的功能。我们写个简单的例子来看下用法: class LayaSample { constructor() { //创建HttpRequest对象 let http: Laya.HttpRequest = new Laya.HttpRequest(); //设置超时时间 http.http.timeout = 10000; //发送了一个简单的请求 http.send("resources/data.txt", ...
来源: Laya3.0_文档 发布时间: 20250104
...nly exported Menu Globals "laya/physics/PhysicsDebugDraw" PhysicsDebugDraw Class PhysicsDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl ...
来源: Laya3.0_api 发布时间: 20231115
...herited Externals Only exported Menu Globals "laya/ui/TextInput" TextInput Class TextInput TextInput 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextInput 实例。 package { import laya.display.Stage; import laya.ui.TextInput; import laya.util...
来源: Laya3.0_api 发布时间: 20231115
...xternals Only exported Menu Globals "laya/map/TileAniSprite" TileAniSprite Class TileAniSprite TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) author ... Hierarchy Sprite TileAniSprite Index Constructors constructor Properties ...
来源: 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
...ly exported Menu Globals "laya/ui/OpenDataContextView" OpenDataContextView Class OpenDataContextView 微信开放数据展示组件,直接实例本组件,即可根据组件宽高,位置,以最优的方式显示开放域数据 Hierarchy UIComponent OpenDataContextView Index Constructors const...
来源: Laya3.0_api 发布时间: 20231115
...ted Externals Only exported Menu Globals "laya/ui/UIComponent" UIComponent Class UIComponent Component 是ui控件类的基类。 生命周期:preinitialize > createChildren > initialize > 组件构造函数 Hierarchy Sprite UIComponent Box ISelect Button Clip ColorPicker Label Image Slid...
来源: Laya3.0_api 发布时间: 20231115