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

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

211. 有关Laya3D碰撞检测疑问 [ 63%]

...ht.direction = new Laya.Vector3(1, -1, -1);  //平面 var plane: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))) as Laya.MeshSprite3D; var planeMat: Laya.StandardMaterial = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../...

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

212. 物理碰撞器(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 63%]

...1所示。 ```typescript //平面 var plane = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))); //新建材质 var planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function(tex) { planeMat...

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

213. LayaAir3D 导出和使用U3D粒子特效 [ 63%]

...3-27 0 1 分享 微博 QZONE 微信 颜颜粑粑 赞同来自: var particleSprite3D:Sprite3D = scene.addChild(Sprite3D.load("...")) as Sprite3D; particleSprite3D.transform.position = new Laya.Vector3(100,0,0);   这样写 无法移动例子效果? 2018-05-09 0 6 分享 微博 QZONE 微信 绝地...

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

214. 关于ASTC使用问题和建议 [ 63%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'...

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

215. laya.d3.core.MeshTerrainSprite3D [ 63%]

...tionAll Packages | All Classes | Index | Frames No Frames MeshTerrainSprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainMeshSprite3D 类用...

来源: Laya2.0_api 发布时间: 20190513

216. WaterPrimaryMaterial使用 [ 62%]

...demo吗? 我这里怎么调都是单一色块呢?   var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(10, 10))) as Laya.MeshSprite3D; // box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); // var material: Laya.BlinnPhongMaterial = new Laya.BlinnPh...

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

217. 问一下,使用Laya.loader.clearUnLoaded();以后,再重新开始加载就加载不了了?这个该怎么解决? [ 62%]

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

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

218. 导入3D模型有问题 [ 62%]

...;   //添加自定义模型        var mesh = scene.addChild(new Laya.Sprite3D.load("res/dg/dg.lh"));        mesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) {        setMeshParams(sprite, Laya.StandardMaterial.RENDERMODE_CUTOUT, new Vector4(3.5, 3.5, 3.5, 1.0), new Vector...

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

219. laya.d3.core.BaseCamera [ 62%]

...ants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D Node EventDispatcher ObjectSubclasses Camera BaseCamera 类用于创建摄像机父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean ...

来源: Laya2.0_api 发布时间: 20190513

220. 3D模式下使用Tween使模型移动如何写法 [ 62%]

...型移动如何写法 //载入并显示鱼模型 var fish = new Laya.MeshSprite3D(Laya.Mesh.load("fish/denglongyu/denglongyuANI-denglongyu.lm")); scene.addChild(fish); var fishmaterial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu...

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