大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0123 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...状态下播放背景音乐无效的解决方案 SoundManager.playSound=function(url,loops,complete,soundClass,startTime){ (loops===void 0)&& (loops=1); (startTime===void 0)&& (startTime=0); if(!url) return null; SoundManager._recoverWebAudio(); url=URL.formatURL(url); if (url!=Sou...
来源: Laya_社区 发布时间: 20181019
...terial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; } } 附件 : --> laya1.rar 2020-10-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20201021
...ialDefine 材质宏定义值。 */ public function precompileShaderWithShaderDefine(publicDefine:int, spriteDefine:int, materialDefine:int):void { withCompile(publicDefine, spriteDefine, materialDefine); } 然后用这个接...
来源: Laya_社区 发布时间: 20180620
...-01 0 0 分享 微博 QZONE 微信 qian 赞同来自: 用最新版的引擎function changeAction(){//debugger; if(tActionID%2 == 0) { skeleton0.replaceSlotSkinName("head", "h1-tou5", "robotFolder/head"); } else { skeleton0.replaceSlotSkinName...
来源: Laya_社区 发布时间: 20180201
...ight:Number; private var _oldY:Number; private function onMuseHandler(type:Event,index:int):void { trace("type:" + type.type + "ddd--" + _list.scrollBar.value + "---index:" + index); var curX:Number,curY:Number; ...
来源: Laya_社区 发布时间: 20171204
...内容相关的链接 提交 7 个回复 无所畏惧 赞同来自: public function Main() { if (window["Laya3D"]) window["Laya3D"].init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); ...
来源: Laya_社区 发布时间: 20191016
...if( window.conch ) { console.log("i'm here 1"); window.conch.captureScreen(function(arrayBuff,width,height){ conch.saveAsPng(arrayBuff,width,height,conch.getCachePath()+"/test.png" ); console.log("i'm here 2:" + arrayBuff.byteLength + " " + width + " " + height); console.log(conch.getCachePath()+"/t...
来源: Laya_社区 发布时间: 20180305
...tring, x?: number, y?: number, width?: number, height?: number, complete?: Function | null): void Defined in laya/display/Graphics.ts:443 加载并显示一个图片。 Parameters url: string 图片地址。 Default value x: number = 0 (可选)显示图片的x位置。 Default value y: number = ...
来源: Laya3.0_api 发布时间: 20231115
...A_END CDATA_START COMMENT_END COMMENT_START Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...左上角位置偏移Method Detail_createJoint()methodoverride protected function _createJoint():voidMon May 13 2019, 03:09 PM +08:00
来源: Laya2.0_api 发布时间: 20190513