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

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

1. 寻路系统(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 100%]

...dFinish() { // .......前面摄影机,猴子精灵相关操作忽略 var heightMap = Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png"); //初始化MeshTerrainSprite3D this.terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh a...

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

2. 寻路系统(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 99%]

...ish():void{ // .......前面摄影机,猴子精灵相关操作忽略 var heightMap = Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png"); //初始化MeshTerrainSprite3D this.terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh a...

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

3. 寻路系统(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 99%]

...ish():void { .......//前面摄影机,猴子精灵相关操作忽略 var heightMap:Texture2D = Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png") as Texture2D; //初始化MeshTerrainSprite3D terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter...

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

4. CommandBuffer使用文档(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 97%]

...e var renderTexture = RenderTexture.createFromPool(viewPort.width,viewPort.height,RenderTextureFormat.R8G8B8,RenderTextureDepthFormat.DEPTHSTENCIL_NONE); this.texture = renderTexture; //将当前渲染的结果拷贝到创建好的RenderTexture buf.blitScreenTriangle(null,renderTexture); //获得模...

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

5. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 95%]

... {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clipY": "3...

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

6. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 94%]

..., 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } } } import Box = Laya.Box; import Clip = Laya.Clip; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height":...

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

7. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 93%]

...位置 tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对象,在此作为参考,对应树形结构...

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

8. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 89%]

...createElement("div"); qrcode= new Browser.window.QRCode(div,{ width : 100, height : 100 }); var url:String ="http://layabox.com/"; qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); qrcodeSp = new Sprite(); Laya.stage.addChild(qrcodeSp); } private function clickHandler():void { var ur...

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

9. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 72%]

...ment("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var url = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); function clickHandler(){ var url = ...

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

10. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 70%]

...ment("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var url:string = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); } private clickHandler(...

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