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

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0050 秒)

1801. Ionic2嵌入layaair的问题 [ 55%]

... reference path nod_modules layaair-js layaair.d.ts 然后: constructor(public navCtrl: NavController) {       Laya.init(1334, 750);   } 2017-09-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yriyr 相关问题 发起问题须...

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

1802. Pool 使用 Laya.Prefab [ 55%]

Pool 使用 Laya.Prefab public targetBox:Laya.Prefab; let box: Laya.Sprite = Laya.Pool.getItemByCreateFun("ItemBox", this._control.targetBox.create, this._control.targetBox); 运行报错: Cannot read property 'create' of undefined targetBox又在 control里面引用一个Prefab 2019-08-26 添加...

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

1803. 屏幕2d坐标转成3d的世界坐标 [ 55%]

...回,减少对象创建开销。 * @return 转换后的坐标的点。 */ public function localToGlobal(point:Point, createNewPoint:Boolean = false):Point {}

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

1804. 如何获取Tween.to的进度 [ 55%]

... 用update 可以实现吗   这个updat 如何使用 update property   public var update:Handler 更新回调,缓动数值发生变化时,回调变化的值 2017-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

1805. 路径显示会添加DrawCall,每增加一条路径都会添加,有什么办法降DrawCall [ 55%]

...; import laya.utils.Handler; import ui.TestDialogUI; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var _path2:Sprite = new Sprite(); private var arr:Array = ; priva...

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

1806. laya.d3.core.MeshFilter_API3.0 [ 55%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/MeshFilter" MeshFilter Class MeshFilter MeshFilter 类用于创建网格过滤器。 Hierarchy Component MeshFilter Index Constructors c...

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

1807. laya.d3.component.LODGroup_API3.0 [ 55%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/LODGroup" LODGroup Class LODGroup SpotLight 类用于构建LOD组件 Hierarchy Component LODGroup Implements IBoundsCell Index Cons...

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

1808. 关于mouseover的问题 [ 55%]

... 2017-09-20 1 0 分享 微博 QZONE 微信 shiyang 赞同来自: override public function onRegister():void{             Laya.init(600,600,WebGL);             Laya.stage.alignH=Stage.ALIGN_MIDDLE;             Laya.stage.alignV=Stage.ALIGN_TOP;                  ...

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

1809. Sprite.loadImage();问题 [ 55%]

...   /**          * 初始化 地图          */         public function initMap(texture:Texture, bgID:int):void{             if(this.oldBgID != bgID){                 oldBgID = bgID;                 if(oldTexture){                    ...

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

1810. 富文本使用图集 [ 55%]

...res/1.json", Handler.create(this, createAnimation), null, Loader.ATLAS);  public function createAnimation():void         {             var appendHtml:HTMLDivElement=new HTMLDivElement();             appendHtml.innerHTML="aa==<ani src='res/1.png'></ani>";     ...

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