大约有 1,725 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0059 秒)
Laya_社区(1417) Laya3.0_api(94) Laya2.0_文档(77) Laya3.0_文档(49) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
... { let floor1:Laya.Sprite3D = this.scene.getChildByName("floor"+floor+i) as Laya.Sprite3D; if(floor1) { floor1.destroy(); ...
来源: Laya_社区 发布时间: 20180514
...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
...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
...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
...框范围内显示,红框范围外不显示应该如何实现? 或者Sprite3D是否有方法能够将当前渲染导出到Sprite显示的方法呢? 附件 : --> 2017-02-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...
来源: Laya_社区 发布时间: 20170209
...点时报abort 41错误 引擎版本:laya 2.3.0 出现qin情况:一个sprite3d节点添加另一个sprite3d的时候 附件 : --> 2020-03-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来...
来源: Laya_社区 发布时间: 20200302
...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
...加自定义模型 //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
...题求助! 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
...就没法控制了。 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