大约有 15 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)
...; 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
...射贴图。 * @return 漫反射贴图。 */ get albedoTexture(){ return this._shaderValues.getTexture(MultiplePassOutlineMaterial.ALBEDOTEXTURE); } /** * 设置漫反射贴图。 * @param value 漫反射贴图。 */ set albedoTexture(value) { if (value) this._defineDatas.add(MultiplePassOutlineMate...
来源: Laya2.0_文档 发布时间: 20210715
...射贴图。 * @return 漫反射贴图。 */ get albedoTexture(){ return this._shaderValues.getTexture(MultiplePassOutlineMaterial.ALBEDOTEXTURE); } /** * 设置漫反射贴图。 * @param value 漫反射贴图。 */ set albedoTexture(value) { if (value) this._defineDatas.add(MultiplePassOutlineMate...
来源: Laya2.0_文档 发布时间: 20210715
... @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
...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
...; 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
...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
... _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
...rivate _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断是否已初始化录屏对象 if (!this._recorder) { //判断是否为字节小游戏环境 if (Browser.onTTMiniGame) { //初始化录屏对象 this._recorder = tt.getGameRecorderManager(); } } } static get ins...
来源: Laya2.0_文档 发布时间: 20210715
...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