大约有 367 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0065 秒)
...,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); v...
来源: Laya2.0_文档 发布时间: 20210714
...alog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize closeEffect closeHandler closeType group hitTestPrior isModal isPopupCenter isShowEffect mouseThrough name popupEffect tag CANCEL CLOSE NO OK SURE YES drawtocanvCtx unDes...
来源: Laya3.0_api 发布时间: 20231115
...pe : Laya.Camera } ) private camera: Laya.Camera; @property( { type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya.loader.load("resources/Prefab.lh").then( (res)=>{ //创建预制体 let monkey: Laya.Sprite3D = res.create(); //...
来源: Laya3.0_文档 发布时间: 20241014
...ited from Node.is3D Defined in laya/display/Node.ts:87 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean layer get layer(): number set layer(value: number): void Defined in laya/d3/core/Sprite3D.ts:105 蒙版层。 Returns number Defined in laya/d3/core/Sprite3D.ts:109 蒙版层...
来源: Laya3.0_api 发布时间: 20231115
...ya.Vector3(0, 0, 0); this.scene = Laya.stage.addChild(new Laya.Scene3D()); //初始化照相机 let camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 6, 9.5)); camera.transform.rotate...
来源: Laya_社区 发布时间: 20201127
...("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")) as Laya.Scene3D; //从场景获取球型精灵 this.sphere = scene.getChildByName("Sphere") as Laya.MeshSprite3D; //获取球型精灵自带的BlinnPhong材质 this.billinMaterial = this.sphere.meshRenderer.material; ``` > 拿到材...
来源: Laya2.0_文档 发布时间: 20210715
...ya.Vector3(0, 0, 0); this.scene = Laya.stage.addChild(new Laya.Scene3D()); //初始化照相机 let camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 6, 9.5)); camera.transform.rotate...
来源: Laya_社区 发布时间: 20191009
...ited from Node.is3D Defined in laya/display/Node.ts:86 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean layer get layer(): number set layer(value: number): void Inherited from PixelLineSprite3D.layer Defined in laya/d3/core/Sprite3D.ts:105 蒙版层。 Returns number Inherited f...
来源: Laya3.0_api 发布时间: 20231102
...onents/Component.ts:56 Returns void _setBelongScene _setBelongScene(scene: Scene3D): void Overrides BaseRender._setBelongScene Defined in laya/d3/core/SkinnedMeshRenderer.ts:289 Parameters scene: Scene3D Returns void _setOwner _setOwner(node: Node): void Inherited from Component._setOwner Defined in...
来源: Laya3.0_api 发布时间: 20231115
...onents/Component.ts:56 Returns void _setBelongScene _setBelongScene(scene: Scene3D): void Inherited from SkinnedMeshRenderer._setBelongScene Overrides BaseRender._setBelongScene Defined in laya/d3/core/SkinnedMeshRenderer.ts:289 Parameters scene: Scene3D Returns void _setOwner _setOwner(node: Node):...
来源: Laya3.0_api 发布时间: 20231115