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

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

2801. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 59%]

...3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Handler.create(this,function(res:Scene3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); Texture...

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

2802. 体验LayaAir 3.0.0-beta.4遇到的一些问题 [ 58%]

...,编译后正常应该是可以落下的,但是并没有 const rig = this.basketball.getComponent(Laya.Rigidbody3D);         if (rig) {             //默认不生效呢???             // rig.restitution = 0.9;             // rig.gravity = new Laya.Vector3(0, -10, 0); ...

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

2803. 动效模板(TypeScript-LayaAir基础篇(TS)-动画基础) [ 58%]

...到舞台上 Laya.loader.load("./res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例化导出的UI类 var efc:ui.EffectAnimationDemoUI = new ui.EffectAnimationDemoUI(); //添加到舞台 Laya.stage.addChild(efc); } }new Main(); ``` 运行后,按钮被...

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

2804. Shader预编译(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 58%]

...照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function(){ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["DIRECTIONLIGHT","BONE"], "pass...

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

2805. layaair2-cmd compile编译报内存溢出 [ 58%]

...IDE\resources\app\node_modules\rollup\dist\rollup.js:~13831] [pc=0E065923](this=5AD16EDD ) 2: collapseSourcemaps(aka collapseSourcemaps) [E:\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:13953] [pc=3DA77B43](this=0E9041A1 ,bundle=0CAD5F2D ,file=6DA918E9 2021-11-02 0 0 分享 微博 QZO...

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

2806. 加载 unity3D导入的旧版蒙皮动画时出现错误 [ 58%]

...ions;             skinAni.templet = Laya.AnimationTemplet.load(this.skinAniUrl[0]);             skinAni.player.play();         }         for (var i: number = 0, n: number = spirit3D._childs.length; i < n; i++)             this.addSkinComponent(s...

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

2807. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 58%]

... * @param clearColor Optional. If provided, the texture will be cleared to this color before drawing. Default is null. * @returns The drawn RenderTexture2D object. * @ZH 绘制当前对象到一个 Texture 对象上。 * @param canvasWidth 画布宽度。 * @param canvasHeight 画布高度。 * @par...

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

2808. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 58%]

...Ready()) {                     tex.once(Event.READY, thisthis.drawImage, [tex, x, y, width, height]);                 }   导致 tex 找不到 getIsReady 方法报错     报错堆栈 TypeError: tex.getIsReady is not a function at Graphics.loadImage (...

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

2809. laya.display.Node_API3.0 [ 58%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指...

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

2810. 骨骼动画有没有COMPLETE 事件,设置了没用 [ 57%]

...1 个回复 cuixueying 赞同来自: skeleton.player.on(Event.COMPLETE,this,onCom); 2017-08-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 abc0201213 相关问题 分享:自定义事件派发与侦听(A页面派发 B页面...

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