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

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

631. laya.ui.Radio [ 27%]

...体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button labelPadding : String 表示按钮文本标签的边距...

来源: laya_api 发布时间: 20170929

632. laya.ui.CheckBox [ 27%]

...体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button labelPadding : String 表示按钮文本标签的边距...

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

633. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 27%]

...走的区域 (图2-3) 通过下面代码,可以读取此图,并将颜色值放到数组中 /** * 通过图片数据计算得到AStart网格 */ private createGridFromAStarMap(texture): any { var textureWidth = texture.width; var textureHeight = texture.height; var pixelsInfo = texture.getPixe...

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

634. laya.ui.Radio [ 27%]

...体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button labelPadding : String 表示按钮文本标签的边距...

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

635. laya.ui.HSlider_API3.0 [ 26%]

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

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

636. laya.ui.VSlider_API3.0 [ 26%]

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

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

637. laya.ui.Box [ 26%]

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

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

638. laya.display.Input_API3.0 [ 26%]

...rom 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 cacheAs(): s...

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

639. 实体组件系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

...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_文档 发布时间: 20251010

640. 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