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

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

201. laya.ui.UIGroup [ 53%]

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

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

202. laya.display.Input_API3.0 [ 53%]

...ited from Text.borderColor Defined in laya/display/Text.ts:576 文本边框背景颜色,以字符串表示。 Returns string Inherited from Text.borderColor Defined in laya/display/Text.ts:580 文本边框背景颜色,以字符串表示。 Parameters value: string Returns void cacheAs get cacheA...

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

203. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 52%]

....WebGL); //等比缩放 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1, this, onFrame); this.createTime = 0; function onFrame() { //如果创建对象时间为100帧间隔后 if (this.createTime >= 100) { //每200帧...

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

204. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 52%]

....WebGL); //等比缩放 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1, this, this.onFrame); } onFrame(): void { //如果创建对象时间为100帧间隔后 if (this.createTime >= 100) { //每200帧间隔创建30个...

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

205. laya.ui.Tab [ 51%]

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

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

206. laya.ui.RadioGroup [ 51%]

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

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

207. 内存优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 51%]

..., 640,WebGL); //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1,this,onFrame); } private function onFrame():void { //如果创建对象时间为100帧间隔后 if(createTime>=100) { //每200帧间隔创建30...

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

208. laya.ui.Radio_API3.0 [ 51%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png"...

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

209. laya.ui.TextInput_API3.0 [ 51%]

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

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

210. laya.ui.TextArea_API3.0 [ 51%]

...置游戏画布宽高。 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