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

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

1611. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 43%]

...l/Effect_zhujue_attack.lh");             let tarItem = Laya.Sprite3D.instantiate(item);             this.scene.addChild(tarItem);             tarItem.transform.position = new Laya.Vector3(0, 0, 0);             item.destroy();          ...

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

1612. 模型与动画的导入使用 · LayaAir3.4 · 引擎文档 · LAYABOX [ 43%]

...景内 Laya.loader.load("girl/girl.lh").then(res => { let girl : Laya.Sprite3D = res.create(); this.scene3D.addChild(girl); //获得Animator this._animator = girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Event.MOUSE_DOWN, this, this.switchAni ); } switchAni(): void { if...

来源: Laya3.0_文档 发布时间: 20251010

1613. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 43%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on...

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

1614. Box2D使用Destory join报错? [ 43%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf...

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

1615. 播放动画(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 43%]

...动播放。我们要怎么控制动画的播放呢? LayaAir 3D引擎的Sprite3D类提供了 `getComponent()` 方法来获取模型上的组件。带动画的模型在加载创建时引擎默认赋予了Animator动画组件,因此我们可以获取它,参考以下代码。 ```typescript //获...

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

1616. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 43%]

...解答(最新版本:1.7.16) Layaair IDE的帧属性面板不见了 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 有什么容器能够实现当子元素达到显示上限后自动滚屏...

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

1617. 使用layaAirIDE打包APK问题 [ 42%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的...

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

1618. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 42%]

...cullingMask : 2147483647 destroyed : false enableRender : true name : "New Sprite3D" sky : SkyDome _bufferState : BufferState _bindedIndexBuffer : IndexBuffer3D _nativeVertexArrayObject : WebGLVertexArrayObjectOES __proto__ : BufferStateBase _indexBuffer : IndexBuffer3D _slices : 48 _stacks : 48 _ve...

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

1619. 用Unity插件导出的模型渲染报错 [ 42%]

...reate(this, this.OnComplete)); private OnComplete():void { let sprite:Laya.Sprite3D = Laya.loader.getRes("model/role/1/model.lh"); this._scene.addChild(sprite); } 155*****924 • 2019-05-16 15:16 这样写应该没问题吧? 155*****924 • 2019-05-16 15:18 Utils3D._mulMatrixArray(this._...

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

1620. Laya ts版,使用jasmine进行单元测试 [ 42%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 关于Laya实现Matter.js官方案例凹多边形的问题 Texture图片能否进行翻转? 成都雨墨游戏 ...

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