大约有 553 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0064 秒)
Laya2.0_api(174) laya_api(132) Laya_示例(65) Laya_社区(56) Laya2.0_示例(51) Laya2.0_文档(36) Laya3.0_api(32) Laya3.0_文档(7)
...ge.addChild(tab);//将 tab 添到显示列表。 } private onSelect(index: number): void { console.log("当前选择的表情页索引: index= ", index); } } Hierarchy UIGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThroug...
来源: Laya3.0_api 发布时间: 20231115
...Group);//将 radioGroup 添加到显示列表。 } private onSelect(index: number): void { console.log("当前选择的单选按钮索引: index= ", index); } } Hierarchy UIGroup RadioGroup Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior m...
来源: Laya3.0_api 发布时间: 20231115
...激活。 Returns boolean 在场景中是否激活。 alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/display/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from T...
来源: Laya3.0_api 发布时间: 20231115
...de:any = xml.firstChild; var nodes:Array = rootNode.childNodes; for (var i:number = 0; i item aitem bsomethis..."; var xmlValue:String = "item aitem bsomethings..."; proessXML(xmlValueContainsError); trace("\n"); proessXML(xmlValue); } // 使用xml private function proessXML(source:String):void { tr...
来源: Laya2.0_示例 发布时间: 20251209
...on playMusic(url:String, loops:int = 0, complete:Handler = null, startTime:Number = 0):SoundChannel { 你的参数传入是否正确那? 或者能否发一下你出问题部分的代码或者小demo那? 2018-04-17 0 1 分享 微博 QZONE 微信 Apple 赞同来自: 你用普通播放器听听音...
来源: Laya_社区 发布时间: 20180417
...ape.x=(apesCtn._childs.length)*(stageWidth/4) var bl:Number=texture.width/texture.height ape.graphics.drawTexture(texture,0,0,stageWidth/4,stageWidth/4/bl); apesCtn.addChild(ape); } 2016-10-23 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20161023
...Laya.Scene.LIGHTDIRCOLOR, Laya.Shader3D.PERIOD_SCENE] }; var customShader: number = Laya.Shader3D.nameKey.add("CustomShader"); var vs: string = "attribute vec4 a_Position;\n" + "attribute vec2 a_Texcoord;\n" + "attribute vec3 a_Normal;\n" + "uniform mat4 u_MvpMatrix;\n" + "uniform mat4 u_WorldMat;\n...
来源: Laya_示例 发布时间: 20251209
...ode.tag Defined in laya/display/Node.ts:62 节点标签 wrapMode wrapMode: number = 0 Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBase.WRAP_PINGPONG为pingpong播放(当...
来源: Laya3.0_api 发布时间: 20231115
...ode.tag Defined in laya/display/Node.ts:62 节点标签 wrapMode wrapMode: number = 0 Inherited from AnimationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBa...
来源: Laya3.0_api 发布时间: 20231115
...loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recoverWebAudio(); url = URL.formatURL(url); if (url == _tMusic) { if (_musicMuted) return null; } else { if (R...
来源: Laya_社区 发布时间: 20190115