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

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0280 秒)

3741. 2.0新特性常见问题(TypeScript-常见问题汇总(持续更新)-2.0常见问题) [ 50%]

...ate("prefab/预设名字.json",Handler.create(this,onComplete)); } private function onComplete(obj:Object):Void{ 一个预设变量.json = ojb 一个sprite = Pool.getItemByCreateFun("自己起一个名字", this.一个预设变量.create, this.一个预设变量); } ```

来源: Laya2.0_文档 发布时间: 20210714

3742. laya.d3.renderobjs.renderobj.SceneRenderManagerOBJ_API3.0 [ 50%]

...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface

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

3743. 渲染队列排序问题,导致Alpha混合效果出错 [ 50%]

...,导致Alpha混合效果出错     FrustumCulling._traversalCulling=function(camera,scene,context,renderList){         var validCount=renderList.length;         var renders=renderList.elements;         var boundFrustum=camera.boundFrustum;         var camPos=cam...

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

3744. 【严重】layaAir的存图代码(htmlCanvas)在安卓微信浏览器的色差问题 [ 50%]

..._work.drawToCanvas(575, 1023, 0, 0); htmlCanvas.toBase64("image/png", 0.9, function(base64){ //trace(base64); if (!testTf){ __JS__('setWork(base64)'); } }); 2018-10-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ohkei as3、as2、h5 ...

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

3745. 自定义shader-shader预编译 [ 50%]

...tils.Stat; import laya.webgl.WebGL; public class ShaderPrecompile { public function ShaderPrecompile() { Laya3D.init(0, 0, true); //开启Shader编译调试模式,可在输出宏定义编译值。 ShaderCompile3D.debugMode = true; var sc:ShaderCompile3D = ShaderCompile3D.get("SIMPLE"); //部分低...

来源: Laya_示例 发布时间: 20260303

3746. laya.map.TileTexSet_API3.0 [ 50%]

...rite clearAll removeAniSprite showDebugInfo Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface

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

3747. 运行调试layaair后黑屏,用的js [ 50%]

...js 问题日志:"TypeError: Cannot read property 'call' of undefined at Function.<anonymous> (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:130:41) at new GameInfo (file:///Users/moos/Company/EmersonGame/src/GameInfo.js:4:18) at onLoaded (file:///Users/moos/Company/EmersonGame...

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

3748. laya as发布玩一玩到Xcode工程,编译报错 [ 50%]

...1, code=-1, info1=Execute JS Error![TypeError: this.ctx.transform is not a function. (In 'this.ctx.transform(a,b,c,d,tx,ty)', 'this.ctx.transform' is an instance of RectTransform)]: line = 6253, column = 21, sourceURL = /var/containers/Bundle/Application/2DE21169-C5AF-439A-9F39-D30D42DC9162/PublicBr...

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

3749. 如何动态添加Animator和加载AnimationClip并播放 [ 50%]

...e.lh")) as Sprite3D;       layaScene.once(Event.HIERARCHY_LOADED, this, function():void{       var meshSprite:Sprite3D=layaScene.getChildAt(0) as Sprite3D;       var animator:Animator = meshSprite.addComponent(Animator) as Animator;       var clip:AnimationClip=AnimationClip.load("res/La...

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

3750. 源码List的一次代码错误 [ 50%]

...但是看定义arr上面定义的是局部变量。__proto._createItems = function (startY, numX, numY) { var box = this._content; var cell = this._getOneCell(); var cellWidth = cell.width + this._spaceX; var cellHeight = cell.height + this._spaceY; if (this.cacheContent) { var cacheBox = new Box();...

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