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

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

101. js中使用sharedMesh报错 [ 51%]

...一步试运行就报错了。 代码: //仓库原型 warehouse1 = Laya.MeshSprite3D.load("model/warehouse/1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); warehouse1.name = "...

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

102. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 50%]

...示例([demo地址]())。 ```typescript var material:BlinnPhongMaterial = meshSprite3D.meshRenderer.material as BlinnPhongMaterial; //法线贴图 Texture2D.load(normalMapUrl[i], Handler.create(this, function(texture:Texture2D):void { //设置发现贴图 material.normalTexture = texture; })); ``` !...

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

103. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 50%]

...ya.Sprite3D());             this.cube = this.cubeP.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1)));             let rigidbody = this.cube.addComponent(Laya.Rigidbody3D);             rigidbody.mass = 0.01;             rigidbody.overrideGravity = true;  ...

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

104. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 48%]

...ject var bom2=tileroot.getChildAt(1).getChildAt(0).clone(); undefined bom2 MeshSprite3D {_render: MeshRender, _geometryFilter: MeshFilter, _projectionViewWorldMatrix: Matrix4x4, _projectionViewWorldUpdateLoopCount: -1, _projectionViewWorldUpdateCamera: null…} bom2.transform.worldMatrix Matrix4x4el...

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

105. 如何为灯光添加阴影(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 48%]

...eShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)

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

106. 如何为灯光添加阴影(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 47%]

...eShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 ![]...

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

107. 3D角色动作播放时长不正确 [ 46%]

... 赞同来自: 183*****755 好了,解决了。 加载.lm模型要用Laya.MeshSprite3D(Laya.Mesh.load(path)); 动画目前看起来还是正常的。 2017-05-22 1 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 我们看下,晚些回复! 2017-05-18 0 0 分享 微博 QZONE 微信 ebaww 赞...

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

108. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...; i++){ //在射线击中的位置添加一个立方体 let box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1)); box.transform.position = new Laya.Vector3(outs[i].point.x, outs[i].point.y, outs[i].point.z); this.scene.addChild(box); } } } (动图7-1) 7.2 可视遮罩层Layer 前...

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

109. laya.d3.core.RenderableSprite3D_API3.0 [ 42%]

...实例。 Hierarchy Sprite3D RenderableSprite3D PixelLineSprite3D SkinnedMeshSprite3D MeshSprite3D ShuriKenParticle3D TrailSprite3D SimpleSkinnedMeshSprite3D Index Constructors constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE...

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

110. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 40%]

...ed All Inherited Externals Only exported Menu Globals "laya/d3/core/SkinnedMeshSprite3D" SkinnedMeshSprite3D Class SkinnedMeshSprite3D SkinnedMeshSprite3D 类用于绑点骨骼节点精灵。 Hierarchy RenderableSprite3D SkinnedMeshSprite3D Index Constructors constructor Properties _extra _scene _ur...

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