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

大约有 15 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)

1. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 100%]

...; xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data","","get","text"); function processHandler(data){ console.log(data); } function errorHandler(...

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

2. 关联shader的uniform(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 96%]

...射贴图。 * @return 漫反射贴图。 */ get albedoTexture(){ return this._shaderValues.getTexture(MultiplePassOutlineMaterial.ALBEDOTEXTURE); } /** * 设置漫反射贴图。 * @param value 漫反射贴图。 */ set albedoTexture(value) { if (value) this._defineDatas.add(MultiplePassOutlineMate...

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

3. 关联shader的uniform(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 95%]

...射贴图。 * @return 漫反射贴图。 */ get albedoTexture(){ return this._shaderValues.getTexture(MultiplePassOutlineMaterial.ALBEDOTEXTURE); } /** * 设置漫反射贴图。 * @param value 漫反射贴图。 */ set albedoTexture(value) { if (value) this._defineDatas.add(MultiplePassOutlineMate...

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

4. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 95%]

... @return 漫反射贴图。 */ public function get albedoTexture(){ return this._shaderValues.getTexture(MultiplePassOutlineMaterial.ALBEDOTEXTURE); } /** * 设置漫反射贴图。 * @param value 漫反射贴图。 */ public function set albedoTexture(value) { if (value) this._defineDatas.add(Multi...

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

5. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 94%]

...http.timeout = 10000;//设置超时时间; xhr.once(Laya.Event.COMPLETE, this, this.completeHandler); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.on(Laya.Event.PROGRESS, this, this.processHandler); xhr.send("res/data.data", "", "get", "text"); console.log("aaaa"); } private processHan...

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

6. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 91%]

...; xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data","","get","text"); } private function processHandler(data:Object):void { trace(data); } priva...

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

7. 动画状态脚本(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 85%]

...tateScriptTest extends Laya.AnimatorStateScript { constructor() { super(); this._text = null; } get text() { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "动画状态:...

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

8. 动画状态脚本(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 85%]

... _text:Laya.Text; constructor() { super(); } get text():Laya.Text { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "动画状态:动画开始播放"; } /** * 动画状态...

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

9. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 80%]

...rivate _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断是否已初始化录屏对象 if (!this._recorder) { //判断是否为字节小游戏环境 if (Browser.onTTMiniGame) { //初始化录屏对象 this._recorder = tt.getGameRecorderManager(); } } } static get ins...

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

10. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 70%]

...ayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7...

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