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

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

291. destroy 报错 [ 73%]

...             {                 let floor1:Laya.Sprite3D = this.scene.getChildByName("floor"+floor+i) as Laya.Sprite3D;                 if(floor1)                 {                     floor1.destroy();          ...

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

292. Laya截图3D场景相关模型,导致模型透视! [ 73%]

...thographic = true; camera.orthographicVerticalSize = 5; this.effRes = Laya.Sprite3D.load(resUrl); this.effRes.on(Laya.Event.HIERARCHY_LOADED, this, function(){ this.eff1 = scene.addChild( Laya.Sprite3D.instantiate(this.effRes)); this.eff1.transform.position = new Laya.Vector3(0,0,50); this.eff1.tran...

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

293. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 73%]

...erited Externals Only exported Menu Globals "laya/d3/core/SimpleSkinnedMeshSprite3D" SimpleSkinnedMeshSprite3D Class SimpleSkinnedMeshSprite3D SkinnedMeshSprite3D 类用于创建网格。 Hierarchy RenderableSprite3D SimpleSkinnedMeshSprite3D Index Constructors constructor Properties _extra _scene _...

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

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

...default class CameraControll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目标的水平距离参数 public smo...

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

295. 如何实现3d遮罩效果? [ 73%]

...框范围内显示,红框范围外不显示应该如何实现? 或者Sprite3D是否有方法能够将当前渲染导出到Sprite显示的方法呢? 附件 : --> 2017-02-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

296. 添加节点时报abort 41错误 [ 73%]

...点时报abort 41错误 引擎版本:laya 2.3.0 出现qin情况:一个sprite3d节点添加另一个sprite3d的时候 附件 : --> 2020-03-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来...

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

297. VR的demo有没有加载3D场景的啊,实在不知怎么加 [ 73%]

...e = Laya.TextureCube.load("res/sky/skyCube.ltc"); camera.sky = skyBox; var sprite3D = scene.addChild(Laya.Sprite3D.load("cj03/LastHopeScene.lh")); //sprite3D.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); sprite3D.once(Laya.Event.HIERARCHY_LOADED, null, function(sprite) { //console.log(scen...

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

298. 3D模型加载出错 [ 73%]

...加自定义模型         //this.box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1)));         Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh",Laya.Handler.create(null, function(sp){         //Laya.Sprite3D.load("res/layatest...

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

299. 版主紧急问题求助! [ 73%]

...题求助! 1.ts module A{   export var a:类;(类里面包含坐标、Sprite3D等变量) }   2.ts module A{   export function test(){     a = new a();     a.vector2 = new Vector2(100, 100);      a.加载() //Laya.loader.create 加载一个模型。 这个a类里面有回调方法     ...

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

300. [LayaAir3]3d刚体物体使用transform移动无效 [ 73%]

...就没法控制了。 let cube = this.owner.getChildByName("Cube")as Laya.Sprite3D; cube.transform.position = new Laya.Vector3(0, 5, 0);------------------------------------------ 有人回复了,只有运动学才能控制了现在···· 附件 : --> Bugtest.zip 2024-12-09 添加评论 免费帖...

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