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

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

191. laya.ui.TextArea_API3.0 [ 26%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。");//...

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

192. laya.ui.List_API3.0 [ 25%]

...、渲染模式。 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():voi...

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

193. laya.display.Sprite_API3.0 [ 25%]

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

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

194. laya.ui.Tree_API3.0 [ 25%]

...Laya.init(640, 800); 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", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "resour...

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

195. laya.ui.Panel [ 25%]

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

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

196. laya.ui.Tree [ 25%]

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

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

197. laya.display.Stage [ 24%]

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

来源: laya_api 发布时间: 20170929

198. laya.d3.core.scene.Scene3D_API3.0 [ 24%]

...lor(value: Color): void Defined in laya/d3/core/scene/Scene3D.ts:598 固定颜色环境光。 Returns Color Defined in laya/d3/core/scene/Scene3D.ts:602 固定颜色环境光。 Parameters value: Color Returns void ambientIntensity get ambientIntensity(): number set ambientIntensity(value: number): ...

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

199. laya.display.Animation_API3.0 [ 24%]

...、渲染模式。 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

200. laya.display.Stage [ 23%]

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

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