• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 128 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)

1. 资源加载 · LayaAir3.3 · 引擎文档 · LAYABOX [ 100%]

...url, Laya.Loader.IMAGE).then((res: Laya.Texture) => { let sp = new Laya.Sprite(); sp.texture = res; this.owner.addChild(sp); }); } } 常用类型如下: 引擎全局变量 类型标识字符串 类型说明 Laya.Loader.TEXT text 文本类型 Laya.Loader.JSON json JSON类型 Laya.Loader.XML xml ...

来源: Laya3.0_文档 发布时间: 20251010

2. laya.ui.Image_API3.0 [ 99%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Image.ts:98 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

来源: Laya3.0_api 发布时间: 20231115

3. laya.ui.AdvImage_API3.0 [ 90%]

... = false Inherited from AnimationBase._ownGraphics Defined in laya/display/Sprite.ts:245 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:631 _skinBaseUrl _skinBaseUrl: string Inherited from AnimationBase._skinBaseUrl Defined in laya/display/Sprite.ts:269 如果节点...

来源: Laya3.0_api 发布时间: 20231102

4. laya.ui.Image [ 89%]

... Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 ImageClip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其...

来源: Laya2.0_api 发布时间: 20190513

5. laya.ui.AdvImage [ 87%]

...kagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : B...

来源: Laya2.0_api 发布时间: 20190513

6. laya.ui.Dialog_API3.0 [ 87%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _scene3D _scene3D: any Inherited from Scene._scene3D Defined in laya/display/Scene.ts:28 _skinBaseUrl _skinBaseUrl: string Inher...

来源: Laya3.0_api 发布时间: 20231115

7. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 82%]

...设置纹理之后,mouseThrough的设置就无效了,可以参考Laya.Sprite的mouseThrogh的注释,如下所示: /** * @en For non-UI component display object nodes (container objects or display objects without image resources), specifies whether the mouse events penetrate this object's col...

来源: Laya_社区 发布时间: 20250825

8. laya.ui.ProgressBar [ 80%]

...kagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...

来源: Laya2.0_api 发布时间: 20190513

9. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

...性标识的类型支持引擎对象类型(例如:Laya.Vector3、Laya.Sprite3D、Laya.Camera等)、自定义的对象类型(需要标记@regClass())、以及TS语言的基本类型。 2.5.1 引擎对象类型 引擎对象类型的理解比较简单,暴露组件属性之后,直接传...

来源: Laya3.0_文档 发布时间: 20251010

10. laya.ui.ProgressBar_API3.0 [ 76%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

来源: Laya3.0_api 发布时间: 20231115