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

大约有 240 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0092 秒)

211. laya.display.Stage [ 47%]

...为true,对性能有一定影响。 Sprite  bgColor : String舞台背景颜色默认为黑色,null为透明。Stage blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对...

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

212. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 46%]

...r Flags(清除标志) | 支持 (包括:Skybox天空盒(Background背景色)、Solid Color纯色(Background背景色)、Depth only仅深度、Don’t Clear不清除) | | Projection(投射方式) | 支持(包括:Perspective透视(Field of View视野范围),Orthographic...

来源: Laya2.0_文档 发布时间: 20210714

213. laya.display.Sprite_API3.0 [ 45%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sp...

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

214. laya.ui.UIGroup_API3.0 [ 45%]

...lue: string): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.b...

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

215. laya.ui.Dialog_API3.0 [ 45%]

...弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭...

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

216. laya.ui.HScrollBar_API3.0 [ 44%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.png"], Handler.create(this, onLoadComplete));//加载资源。 } private functi...

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

217. laya.ui.VScrollBar_API3.0 [ 44%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete...

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

218. laya.ui.ScaleBox [ 44%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

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

219. laya.display.Animation_API3.0 [ 44%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载...

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

220. laya.ui.HBox [ 44%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

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