大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
... Laya.Tween.to(origin,target,500).update = new Laya.Handler(null,()=>{ console.log(origin); //如果想对3d对象缓动,可以在此对3d对象进行赋值 // 如下 /** ...
来源: Laya_社区 发布时间: 20200817
...; this.interval > 0){ this.timerLoop(this.interval,this,this._frameLoop,null,true); } } __proto._setFramesFromCache=function(name){ if (name && Animation.framesMap[name]){ this._frames=Animation.framesMap[name]; this._count=this._frames.length; return true; } return false; }是用this.url...
来源: Laya_社区 发布时间: 20161006
...es/atlas/template/Tab栏.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyBootPage2UI); UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() { MyBoot.super(this); ...
来源: Laya_社区 发布时间: 20160722
...子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/SphereShape" SphereShape constructor emitFromShell enable radius randomDirection shapeType clone cloneTo gene...
来源: Laya3.0_api 发布时间: 20231115
...子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/HemisphereShape" HemisphereShape constructor emitFromShell enable radius randomDirection shapeType clone clon...
来源: Laya3.0_api 发布时间: 20231115
...添加到舞台 Laya.stage.addChild(img); } private function switchImg(e:*=null):void { //清空图片 img.graphics.clear(); //获得要切换的图片资源路径 var imgUrl:String = (flag = !flag)? monkey1:monkey2; //加载显示图片,坐标位于100,50 img.loadImage(imgUrl); } } } ``` 运行...
来源: Laya2.0_文档 发布时间: 20210715
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from AnimationBase.viewport Defined in laya/display/Sprite.ts:1832 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提...
来源: Laya3.0_api 发布时间: 20231102
...(this.currTexture); } } }else { this.displayIndex=-1; this.currDisplayData=null; this.currTexture=null; } } 这个函数里 if (this._replaceDic[index]) 的这个判断有问题。如果我当前this._replaceDic[index]值是0,那么判断就会变成false了。也就是说如果我调用replaceSlo...
来源: Laya_社区 发布时间: 20180106
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115