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

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

381. Unity插件导出模型 [ 67%]

...报错   附件包含导出的资源文件,麻烦帮忙看下   Laya.Sprite3D.load("res/LayaScene_Model_71008/Model_71008.lh", Laya.Handler.create(null, function(sprite:Laya.Sprite3D):void { scene.addChild(sprite); sprite.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); }));   报错信...

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

382. laya.d3.component.animation.CameraAnimations [ 67%]

... 获取播放器当前动画的节点数量。 KeyframeAnimations owner : Sprite3D[read-only] 获取所属Sprite3D节点。 Component3D player : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D templet : AnimationTem...

来源: laya_api 发布时间: 20170603

383. 抖音小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //...

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

384. 请问Laya如何使用第三方物理库 [ 66%]

... CannonRigidbody extends Laya.Script3D { static map: { [key: number]: Laya.Sprite3D } = {}; body: CANNON.Body; t: Laya.Transform3D; public onCollisionCB: (s: Laya.Sprite3D) => void; public ignoreRotate: boolean = false; ...OnAwake里面创建CANNON.Body, OnEnable里面把CANNON.Body加入到CANNO...

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

385. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 66%]

...l, function(tex) { //使用纹理 var earth1 = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(5, 32, 32))); earth1.transform.translate(new Laya.Vector3(10, 20, -8)); var earthMat = new Laya.BlinnPhongMaterial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1...

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

386. 2.0.1beta的导入unity导出的场景出错 [ 66%]

...在unity里面LayaRun预览没有任何问题,也成功导出了Scene和Sprite3D。但是把这些放到项目bin文件夹下之后,对着文档进行更改之后,F5调试就报错了。 2019-03-18 0 0 分享 微博 QZONE 微信 由纪 赞同来自: 同样遇到这样的问题,请问该怎...

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

387. 3d场景下面有张2d的图片,当鼠标焦点不在该网页时,2d图片为啥会闪动 [ 66%]

...form.rotate(new Vector3(-30,0,0),true,false);             var map:Sprite3D = Sprite3D.load("3d/zhuoZi/ZhuoZi.lh");             map.transform.localScale = new Vector3(0.1, 0.1, 0.1);             scene.addChild(map);   附件 : --> 2017-03-14 添加评论 免费帖 --> 分...

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

388. 3D粒子特效第一次卡顿最终解决方案 [ 66%]

...ader。 private loadEffectComplete():void{         var effect:Laya.Sprite3D = Laya.loader.getRes("res/effect/2/Conventional/bullet.lh");         this.compileShader(effect);         //===========放心使用吧=================         var myeffect:Laya.Sprite3D = effe...

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

389. laya.d3.component.Component3D [ 66%]

...例组件。 Component3D  owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D  started : Boolean是否已执行start函数。Component3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Component3D() 创建一个新的 Componen...

来源: laya_api 发布时间: 20170929

390. LOD组 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

... 2.3 Renders 图2-5 Renders渲染器实际上是该LOD层级保存网格的Sprite3D对象。通常情况下这是具有LOD 组件的Sprite3D对象的子对象 Renders渲染器可以添加多个渲染对象在同一个LOD层级可以渲染多个对象 3.导入LOD网格(实验性) 在美术软件...

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