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

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

61. laya.ui.ScaleBox [ 30%]

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

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

62. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 29%]

...llisionEnter(other:Laya.Collision): void { //碰撞开始后,物体改颜色 (this.owner.getComponent(Laya.MeshRenderer).material as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0);//绿色 } /** * 发生持续物理碰撞时的3D物理碰撞器事件(不适用2D)...

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

63. laya.ui.VBox [ 29%]

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

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

64. laya.ui.HBox [ 29%]

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

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

65. laya.ui.LayoutBox [ 28%]

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

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

66. laya.ui.ViewStack [ 28%]

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

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

67. laya.ui.Radio_API3.0 [ 28%]

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

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

68. laya.ui.RadioGroup_API3.0 [ 28%]

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

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

69. laya.ui.Tab_API3.0 [ 28%]

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

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

70. laya.ui.UIGroup_API3.0 [ 25%]

...tring): 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.blendMo...

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