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

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

5591. 动画状态脚本(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 49%]

...文本 ```typescript //创建一个动画状态 var state2:AnimatorState = new AnimatorState(); state2.name = "ride"; state2.clipStart = 0 / 581; state2.clipEnd = 33 / 581; state2.clip = animator.getDefaultState().clip; state2.clip.islooping = true; //给该动画状态添加脚本 var asst2:Animato...

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

5592. laya.d3.renderobjs.nativeobj.NativeBaseRenderQueue_API3.0 [ 49%]

...ethods addRenderElement clear destroy renderQueue Constructors constructor new NativeBaseRenderQueue(isTransparent: boolean): NativeBaseRenderQueue Defined in laya/d3/RenderObjs/NativeOBJ/NativeBaseRenderQueue.ts:26 Parameters isTransparent: boolean Returns NativeBaseRenderQueue Properties _batch _b...

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

5593. laya.d3.renderobjs.renderobj.BaseRenderQueue_API3.0 [ 49%]

...ethods addRenderElement clear destroy renderQueue Constructors constructor new BaseRenderQueue(isTransparent: boolean): BaseRenderQueue Defined in laya/d3/RenderObjs/RenderObj/BaseRenderQueue.ts:25 Parameters isTransparent: boolean Returns BaseRenderQueue Properties _batch _batch: RenderElementBatch...

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

5594. spine 播放错乱 [ 49%]

... index = 0; private startFun(): void { //创建动画模板 this.templet = new Laya.SpineTemplet(); this.templet.loadAni("spine/10101001.json"); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); } private parseComplete(): void { th...

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

5595. laya native是用不了drawToCanvas方法的么?一调用就会提示gl.readPixels is not a function。如果不能用的话,有没有其它替代方案? [ 49%]

... 要回复问题请先登录 发起人 天堂鸟 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 请问有没有方法能够获取“鼠标是否处于按...

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

5596. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 49%]

....skel", Loader.SPINE).then((templet: SpineTemplet) => { this.skeleton = new SpineSkeleton(); this.skeleton.templet = templet; this.owner.addChild(this.skeleton); this.skeleton.pos( this.pageWidth / 2, this.pageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, ...

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

5597. ios升级17.0后 UI 控件多次调用 RESIZE 卡死的问题 [ 49%]

...回复问题请先登录 发起人 诗和远方 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 unity导出粒子文件问题 laya针对页游耗用内存大的问题是如何解决的? LayaAir3D UnityPlugin 使用须知-版本更新...

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

5598. 物理射线检测(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 49%]

...ics3D&name=PhysicsWorld_RayShapeCast)); ```typescript this.hitResult = new Laya.HitResult(); this.hitResults= []; //是否穿透 if (this.castAll) { //进行射线检测,检测所有碰撞的物体 this.scene.physicsSimulation.raycastAllFromTo(this.from, this.to, this.hitResults); //遍历射线...

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

5599. HtmlDivElement下划线跑到别的文字下面。 [ 49%]

...gt; </span><br/>" this.htmlDiv:laya.html.dom.HTMLDivElement = new laya.html.dom.HTMLDivElement(); htmlDiv.innerHtml = str1; htmlDiv.innerHtml = str2; 注意,str1和str2只相差了一个字母a,"中国中国中国"后面有a,下划线就错位到它后面的文字。 看了一下,...

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

5600. 怎么在不同时间显示MovieClip的多个实例 [ 49%]

...planet:MovieClip; private function onBtnClick(e:Event):void { ani_planet = new MovieClip(); ani_planet.pivotY = ani_planet.pivotX = 350; ani_planet.x = Laya.stage.width/2; ani_planet.load("1.swf",true); ani_planet.y = i*50; addChild(ani_planet); i++; } 以上代码执行后生成一个新的MovieCli...

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