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

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

1. laya.media.SoundManager_API3.0 [ 100%]

...ger Class SoundManager SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默认有两套声音方案:WebAudio和H5Audio 播放音效,优先使用WebAudio播放声音,如果WebAudio不可用,则用H5Audio播放,H5Audio在部分机器上...

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

2. laya.media.SoundNode_API3.0 [ 28%]

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

3. laya.display.Animation_API3.0 [ 27%]

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

4. laya.display.Sprite_API3.0 [ 18%]

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

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

5. laya.ui.ScaleBox_API3.0 [ 13%]

...lue: string): 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.b...

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

6. laya.ui.Box_API3.0 [ 13%]

...or(): string set bgColor(value: string): void Defined in laya/ui/Box.ts:25 背景颜色 Returns string Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMode Defined in laya/di...

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

7. laya.display.Stage_API3.0 [ 13%]

...bgColor(value: string): void Defined in laya/display/Stage.ts:675 舞台的背景颜色,默认为黑色,null为透明。 Returns string Defined in laya/display/Stage.ts:679 舞台的背景颜色,默认为黑色,null为透明。 Parameters value: string Returns void blendMode get blendMode():...

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

8. laya.ui.Panel_API3.0 [ 13%]

...lue: string): 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.b...

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

9. laya.ui.LayoutBox_API3.0 [ 13%]

...lue: string): 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.b...

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

10. laya.ui.ViewStack_API3.0 [ 13%]

...lue: string): 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.b...

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