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

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

961. 关于Laya.Tween 在3d上的应用与缓动的优化 [ 67%]

...      Laya.Tween.to(origin,target,500).update = new Laya.Handler(null,()=>{             console.log(origin);             //如果想对3d对象缓动,可以在此对3d对象进行赋值            // 如下             /**        ...

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

962. 全局动画不能加载 [ 67%]

...; 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

963. 请问用laya的tab模板创建的tab,为啥没有点击事件啊?而且tab标签点击后没有一直处于按下状态 [ 67%]

...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

964. laya.d3.core.particleshuriken.module.shape.SphereShape_API3.0 [ 67%]

...子位置。 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

965. laya.d3.core.particleshuriken.module.shape.HemisphereShape_API3.0 [ 67%]

...子位置。 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

966. 显示与切换图片(ActionScript-LayaAir基础篇(AS3)-位图) [ 67%]

...添加到舞台 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

967. laya.ui.WXOpenDataViewer_API3.0 [ 67%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from AnimationBase.viewport Defined in laya/display/Sprite.ts:1832 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提...

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

968. LayaAirID 打包app测试 apk无法开启webgl。用浏览器扫码进入就没问题 [ 67%]

...(this.currTexture); } } }else { this.displayIndex=-1; this.currDisplayData=null; this.currTexture=null; } } 这个函数里 if (this._replaceDic[index]) 的这个判断有问题。如果我当前this._replaceDic[index]值是0,那么判断就会变成false了。也就是说如果我调用replaceSlo...

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

969. laya.media.VideoNode_API3.0 [ 67%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...

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

970. laya.ui.UIComponent_API3.0 [ 67%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...

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