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

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

21. 基于Cannon.js的物理系统(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 69%]

...象 var selectSprite3D = out.collider.owner; (selectSprite3D.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorRed; if(this.oldSelectMesh) if(selectSprite3D!=this.oldSelectMesh) (this.oldSelectMesh.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorWr...

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

22. 基于Cannon.js的物理系统(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 67%]

...prite3D = out.collider.owner as MeshSprite3D; (selectSprite3D.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorRed; if(this.oldSelectMesh) if(selectSprite3D!=this.oldSelectMesh) (this.oldSelectMesh.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorW...

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

23. onCollisionEnter检测不到碰撞 [ 65%]

...er.owner === this.sphere){ ((this.owner as Laya.MeshSprite3D).meshRenderer.sharedMaterial as Laya.BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 1.0); } } 附件 : --> 2019-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

24. laya.d3.core.render.BaseRender_API3.0 [ 61%]

...materials ratioIgnor receiveShadow reflectionMode renderNode renderbitFlag sharedMaterial sharedMaterials volume Methods _applyReflection _cloneTo _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate set...

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

25. 3d文字在浏览器能正常运行,打包后使用时会报错 [ 58%]

...NSPARENT; this.mat.albedoTexture = this.texture2D; this.plane.meshRenderer.sharedMaterial.cull = Laya.RenderState.CULL_NONE; 2020-07-14 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复...

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

26. 官方DynamicBatchTest照做为什么动态合不了批? [ 55%]

...) { var boxSprite = new Laya.MeshSprite3D(boxMesh); boxSprite.meshRenderer.sharedMaterial = boxMat; var localPos = boxSprite.transform.localPosition; var rad = ((Math.PI * 2) / oneCircleCount) * j; Laya.Matrix4x4.createRotationY(rad, radMatrix); Laya.Vector3.transformCoordinate(radius, radMatrix, lo...

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

27. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 47%]

...erial: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); coneRender.sharedMaterial = coneMaterial; //把圆锥形3D节点对象添加到3D场景节点下 this.scene.addChild(cone); //设置随机位置 this.tmpVector.setValue(Math.random() * 6 - 2, 6, Math.random() * 6 - 2); cone.transform.po...

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

28. 关联shader的uniform(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 39%]

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

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

29. 关联shader的uniform(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 39%]

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

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

30. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 39%]

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

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