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

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

381. 微信小游戏里面开放数据域的资源加载问题 [ 63%]

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

382. js怎么主动调用AS定义的静态变量? [ 63%]

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

383. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 63%]

...焦点在父窗口被聚焦),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

384. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 63%]

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

385. 请教下, 自己写了个渐变色shader, 但是效果始终不对。麻烦大神们看看代码哪里有问题 [ 63%]

...留言。 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

386. laya.d3.core.scene.Scene3D_API3.0 [ 63%]

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

387. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 63%]

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

388. Ts filter相关问题 [ 63%]

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

389. Browser不兼容最新的Ipad pro [ 63%]

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

390. 微信小游戏 使用innerHTML时抛异常 "需要引入xml解析库文件"请问如何解决 [ 63%]

...@return js原生的XML对象。          */         public static var parseXMLFromString:Function = function(value:String):XmlDom {             var rst:*;             var Parser:*;             value = value.replace(/>\s+</g, '><');   ...

来源: Laya_社区 发布时间: 20180111