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

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

1. Shader预编译(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 100%]

...Shader方法 ```typescript //初始化shader initShader() { ...... //加载获取得到shaderObj let arr= this.shaderObj["GlowingEdgeMaterial"]; for (let = 0; index 使用的官方地形shader示例 ![](img/1.png) ### 2.提取信息,预编译Shader 我们先来看下预编译接口:在 Shader3D ...

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

2. Shader预编译(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 98%]

...``typescript //初始化shader private initShader(): void { ...... //加载获取得到shaderObj let arr :Array= this.shaderObj["GlowingEdgeMaterial"]; for (let index = 0; index 使用的官方地形shader示例 ![](img/1.png) ### 2.提取信息,预编译Shader 我们先来看下预编译接口:...

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

3. Shader预编译(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 98%]

...ipt //初始化shader private function initShader(): void { ...... //加载获取得到shaderObj var arr :Array= this.shaderObj["GlowingEdgeMaterial"]; for (var index:int = 0; index 使用的官方地形shader示例 ![](img/1.png) ### 2.提取信息,预编译Shader 我们先来看下预编译接...

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

4. Clip属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 97%]

...也可以通过代码来设置,上述示例演示了如何通过计时器获取每一秒更新clip.clipX切片,通过每秒更新数字实现计时器的功能,有兴趣的读者可以自己通过代码设置Clip,创建出符合自己项目中需要的Clip。 **示例代码:** ```javascrip...

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

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

... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...

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

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

... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...

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

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

...抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,path[nextPathIndex++ % pointCount].z, endPoint); //开...

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

8. Shader概述(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 77%]

... ```typescript static addInclude(fileName, txt): void; ``` - 7.根据名字获取Shader3D对象,这是一个静态函数。 ```typescript static find(name): Shader3D ``` - 8.在特定索引获取SubShader。 ```typescript getSubShaderAt(index) ``` - 9.是否开启调试模式设置:在调试代...

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

9. Shader概述(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 77%]

...tatic addInclude(fileName: string, txt: string): void; ``` - 7.根据名字获取Shader3D对象,这是一个静态函数。 ```typescript static find(name: string): Shader3D ``` - 8.在特定索引获取SubShader。 ```typescript getSubShaderAt(index: number): SubShader ``` - 9.是否开启调试...

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

10. Shader概述(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 76%]

...tatic addInclude(fileName: String, txt: String): void; ``` - 7.根据名字获取Shader3D对象,这是一个静态函数。 ```typescript static find(name: String): Shader3D ``` - 8.在特定索引获取SubShader。 ```typescript getSubShaderAt(index: Number): SubShader ``` - 9.是否开启调试...

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