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

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

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

...示例([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

152. 设置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

153. 如何为灯光添加阴影(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

154. 如何为灯光添加阴影(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

155. 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

156. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 45%]

...res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRend...

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

157. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 45%]

...res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRend...

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

158. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 43%]

...; 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_文档 发布时间: 20231214

159. 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

160. 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