大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...1 创建一个新的 Clip 示例。 Parameters Default value url: string = null 资源类库名或者地址 Default value clipX: number = 1 x方向分割个数 Default value clipY: number = 1 y方向分割个数 Returns Clip Properties Optional _extra _extra: INodeExtra Inherited from Node._extra De...
来源: Laya3.0_api 发布时间: 20231115
...ad("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { data = { "minStartColor": { "0": 1, "1": 0, "2": 0, "3": 1 }, "boxEmitterVelocity": { "0": 0, "1": 0, "2": 0 }, "minHorizontalStartRadian": 0, "positionVariance": ...
来源: Laya_社区 发布时间: 20180109
...,ltcWeight,1.0); var processHandler=Handler.create(null,Laya3D._onProcessChange,[loader,ltcWeight,6 / 7],false); Laya3D._innerFourthLevelLoaderManager.load(urls,Handler.create(null,Laya3D._onTextureCubeImagesLoaded,[loader,urls,processHandler]),process...
来源: Laya_社区 发布时间: 20180508
...te twoFirst:boolean; constructor(){ super(); this._scene = null; this._text = null; this._camera = null; this.rotation = new Laya.Vector3(0, 0.01, 0); this.lastPosition = new Laya.Vector2(0, 0); this.distance = 0.0; ...
来源: Laya_社区 发布时间: 20190531
....core.js,805行加上: __proto.parseFont=function(xml,texture){ if (xml==null || texture==null)return; this._texture=texture; var tX=0; var tScale=1; + if (typeof xml === "string") { + var parser = new DOMParser(); + xml = parser.parser.parserFromString(xml,'text/xml'); + } var tInfo=xml...
来源: Laya_社区 发布时间: 20180306
...te twoFirst:boolean; constructor(){ super(); this._scene = null; this._text = null; this._camera = null; this.rotation = new Laya.Vector3(0, 0.01, 0); this.lastPosition = new Laya.Vector2(0, 0); this.distance = 0.0; ...
来源: Laya_社区 发布时间: 20190605
...em.ts:220 是否预热。暂不支持 randomSeed randomSeed: Uint32Array = null Inherited from ShurikenParticleSystem.randomSeed Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:308 随机种子,注:play()前设置有效。 randomizeRotationDirection randomizeRotationDirection: num...
来源: Laya3.0_api 发布时间: 20231115
...ndler.create(this, onAssetsLoaded)); } private function onAssetsLoaded(e:*=null):void { ape = new Sprite(); Laya.stage.addChild(ape); ape.pivot(55, 72); ape.pos(Laya.stage.width / 2, Laya.stage.height / 2); // 显示默认纹理 switchTexture(); ape.on("click", this, switchTexture); } private functi...
来源: Laya_示例 发布时间: 20251219
... },[],false); Dialog.manager.closeEffectHandler = null; 解决了。closeEffectHandler 设置成null就好了 2017-11-14 0 0 分享 微博 QZONE 微信 ayiui4566 赞同来自: Dialog.manager.popupEffectHandler = Handler.create(this,(e)=>{ v...
来源: Laya_社区 发布时间: 20171114
...ild(graph); } /**按下事件处理*/ private function onMouseDown(e:Event=null):void { //添加鼠标移到侦听 Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); buttonPosition = button.x; Laya.stage.on(Event.MOUSE_UP, this, onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, onMouseUp); } /**移...
来源: Laya_示例 发布时间: 20251219