大约有 598 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(234) Laya_社区(164) Laya2.0_api(108) laya_api(58) Laya2.0_文档(19) Laya3.0_文档(12) Laya_示例(2) Laya2.0_示例(1)
...unction TypeError: wx.getFileSystemManager is not a function at Function.__static.wxdown (http://127.0.0.1:63435/game/op ... 645:48) at Function.get (http://127.0.0.1:63435/game/open/js/code.js:179:66) at Function.MiniFileMgr.readFile (http://127.0.0.1:63435/game/op ... 418:14) at Loader.__proto.loa...
来源: Laya_社区 发布时间: 20180507
...on.tipsView=null DataSingleton.hallView=null DataSingleton.loadView=null __static(DataSingleton, ['helper',function(){return this.helper=new Helper();} ]); return DataSingleton; })() 这个是AS编译完成的JS, 那我怎么在别的JS里面引用这个DataSingleton里面的dxMerchantID, 我用...
来源: Laya_社区 发布时间: 20170321
...焦点在父窗口被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null;...
来源: Laya_社区 发布时间: 20190115
...../customShader/outline02.ps"); ``` > 初始化Shader ```typescript public static function initShader() { //所有的attributeMap属性 var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0, 'a_Texcoord0': Laya.VertexMesh.MESH_TEXTURECOORDINATE0 ...
来源: Laya2.0_文档 发布时间: 20210715
...留言。 2018-03-16 0 0 分享 微博 QZONE 微信 Ace1024 赞同来自: static vertexShader = ` uniform vec3 u_colorStart; uniform vec3 u_colorEnd; varying vec3 v_color; void main() { v_color = mix(u_colorStart, u_colorEnd, uv.x); gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1...
来源: Laya_社区 发布时间: 20180316
...derableManager scrollRect shadowMapFrequency skewX skewY skyRenderer stage staticCache texture timer transform url viewport visible width x y zOrder _updateMark Methods _initialize _processActive _setCullCamera addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater c...
来源: Laya3.0_api 发布时间: 20231115
...NE 微信 Miller 赞同来自: class Item extends Laya.Box { public static WID: number = 600; public static HEI: number = 85; private img: Laya.Image; //private text: Laya.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image(); ...
来源: Laya_社区 发布时间: 20180507
Ts filter相关问题 static readonly _filter: any[] = [new Laya.GlowFilter("#000000", 5, 1, 1)]; 新建一个sprite sprite.filters = _filter; 这样子运行会报错:fil.action.apply3d(scope,sprite,context,0,0); 但是sprite.filters = [new Laya.GlowFilter("#000000", 5, 1, 1)];是正常的,为...
来源: Laya_社区 发布时间: 20180610
...( U;)? CPU.+Mac OS X/); onIPhone = u.indexOf("iPhone") > -1; onMac = /*[STATIC SAFE]*/ u.indexOf("Mac OS X") > -1; onIPad = u.indexOf("iPad") > -1; onAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; 如上面的这段代码,老款的Ipad Air OnMobile onIOS onMac onIp...
来源: Laya_社区 发布时间: 20200820
...@return js原生的XML对象。 */ public static var parseXMLFromString:Function = function(value:String):XmlDom { var rst:*; var Parser:*; value = value.replace(/>\s+</g, '><'); ...
来源: Laya_社区 发布时间: 20180111