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

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

321. 释放资源报错 [ 68%]

...ootBone){             this._cacheRootBone.transform.off(/*laya.events.Event.TRANSFORM_CHANGED*/"transformchanged",this,this._boundChange); 这里的this._cacheRootBone非空,但是上面transform是空的   这个精灵是 SkinnedMeshRenderer绑定的RootBone的对象。   下面是...

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

322. Main无法正常使用,找不到它的定义 [ 68%]

...rivate 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;             if(type.typ...

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

323. 二进制图片(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 68%]

...ar sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){ //加载完成返回的data是arraybuffer; //.......这...

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

324. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 68%]

... position rotation rotationEuler scale worldMatrix worldNeedUpdate Methods event getForward getFrontFaceValue getRight getUp getWorldLossyScale globalToLocal hasListener localToGlobal lookAt objLookat off offAll offAllCaller on once rotate rotationTo setWorldLossyScale toDir toLocalNormal translate ...

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

325. laya.d3.core.pixelLine.PixelLineRenderer [ 68%]

...Classpublic class PixelLineRendererInheritancePixelLineRenderer BaseRender EventDispatcher Object PixelLineRenderer 类用于线渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不...

来源: Laya2.0_api 发布时间: 20190513

326. 循环添加一组按钮事件无法正常使用 [ 68%]

...          Laya.stage.addChild(b);                 b.on(Event.MOUSE_DOWN, this, mouseHandler);                 b.on(Event.MOUSE_MOVE, this, mouseHandler);                 b.on(Event.MOUSE_UP, this, mouseHandler);                 trace("addEvent")...

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

327. laya.media.SoundChannel [ 68%]

...ds Packagelaya.mediaClasspublic class SoundChannelInheritanceSoundChannel EventDispatcher Object SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停...

来源: laya_api 发布时间: 20170929

328. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 68%]

...s.d.ts", "node_modules/@types/node/domain.d.ts", "node_modules/@types/node/events.d.ts", "node_modules/@types/node/fs.d.ts", "node_modules/@types/node/http.d.ts", "node_modules/@types/node/http2.d.ts", "node_modules/@types/node/https.d.ts", "node_modules/@types/node/module.d.ts", "node_modules/@type...

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

329. 求解关于跨域的具体操作 [ 68%]

...tHeader('Content-Type','application/x-www-form-urlencoded'); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, loader]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); console.log("-----------------send------------------", url); xhr.send(url, "", "get", "arraybuffer"); 2018-07-04...

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

330. laya.d3.animation.AnimationTransform3D [ 68%]

...ationClasspublic class AnimationTransform3DInheritanceAnimationTransform3D EventDispatcher Object AnimationTransform3D 类用于实现3D变换。 Public Properties PropertyDefined By  localRotation : QuaternionAnimationTransform3DPublic Methods Hide Inherited Public Methods Show Inherited Public ...

来源: Laya2.0_api 发布时间: 20190513