大约有 334 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0212 秒)
...的显示对象添加到matter.js里的物理引擎世界里 1.7.19.1 beta 背景音乐在舞台失焦和静音状态下可能导致的无法播放的异常问题! 问题状态 最新活动: 2017-12-29 15:44 浏览: 1622 关注: 2 人 Laya_Aaron • 2017-12-29 15:47 我们肯定给您答复 LagFie...
来源: Laya_社区 发布时间: 20171228
...宽高、渲染模式。 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
...置游戏画布宽高。 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
... Menu Globals "laya/media/SoundNode" SoundNode Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeight...
来源: Laya3.0_api 发布时间: 20231115
...有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本...
来源: Laya2.0_api 发布时间: 20190513
... = 120; // 开启阴影 spotLightComponent.shadowEnable = true; } // 创建背景 createBackground(): void { this.owner.addChild(this.background); let tex = Laya.loader.getRes("resources/bg2.png"); let mesh2Drender = this.background.addComponent(Laya.Mesh2DRender); mesh2Drender.sharedMesh = this.gen...
来源: Laya3.0_文档 发布时间: 20251010
...定影响。 Sprite bgColor : String 表示颜色样本列表面板的背景颜色值。 ColorPicker blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite borderColor : String 表示颜色样本列表面板的边框颜色值。 ColorPicker bottom : Number 从...
来源: Laya2.0_api 发布时间: 20190513
...宽高、渲染模式。 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
...宽高、渲染模式。 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
...-only] 获取进度条对象。 ProgressBar bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIC...
来源: Laya2.0_api 发布时间: 20190513