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

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

1661. 材质-BlinnPhong材质加载 [ 40%]

... new Laya.Vector3(1, -1, -1); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); //加载材质 layaMonkey.meshRender.material = Laya.StandardMaterial.load("../../res/threeDimen/skinModel/Lay...

来源: Laya_示例 发布时间: 20260303

1662. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 40%]

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

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

1663. 没有人尝试使用3d物理引擎么 [ 39%]

...ya.d3.core.BaseCamera; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.RandX; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; im...

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

1664. 同时使用雾和粒子系统,粒子的颜色变成雾的颜色 [ 39%]

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

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

1665. 【分享】通过命令行调用compile.js编译,不使用laya-cmd [ 38%]

...运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 请问在layaIDE里,怎么调用微信小程序API 微信小游戏:HTML...

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

1666. 显示文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

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

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

1667. 材质-BlinnPhong-漫反射贴图 [ 37%]

...yCube.ltc"); camera.sky = skyBox; var earth1 = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh())); earth1.transform.position = new Laya.Vector3(-0.6, 0, 0); var earth2 = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh())); earth2.transform.position = new Laya.Vector3(0.6, 0, 0); v...

来源: Laya_示例 发布时间: 20260303

1668. laya.display.Node_API3.0 [ 37%]

...de 对象可以有子显示对象。 Hierarchy EventDispatcher Node Sprite Sprite3D Index Constructors constructor Properties _extra _scene _url name tag Accessors active activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _pr...

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

1669. 3D物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...m() * 0.5 + 0.8; //创建圆锥形3D模型节点对象 let cone = new Laya.Sprite3D; let coneMesh = cone.addComponent(Laya.MeshFilter); let coneRender = cone.addComponent(Laya.MeshRenderer); // 创建网格 coneMesh.sharedMesh = Laya.PrimitiveMesh.createCone(0.25, 0.75); // 创建材质 let coneMate...

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

1670. 3D中如何限制角色的行走区域? [ 36%]

...ture2D, priority:1, params:[true]}        场景中初始化MeshTerrainSprite3D:               //通过场景中子父级节点寻找可行走区域网格模型               var meshSprite3D:MeshSprite3D = sceneSprite3d.getChildAt(0).getChildAt(0).getChildAt(13) as MeshSprite3D;...

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