大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...aya.loader.load("data/Questv1_Regular.ttf", Handler.create(this,onLoaded), null, Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("data/Questv1_Regular.ttf"); if(arr && Browser.window.conch) { Browser.window.conch.setFontFaceFromBuffer("hu",ar...
来源: Laya_社区 发布时间: 20180705
...hongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); //测试遮挡剔除 material.cull = 0 box.meshRenderer.material = material; let res1 = Laya.Sprite3D.instantiate(box); let res2 = Laya.Sprite3D.inst...
来源: Laya_社区 发布时间: 20190717
...vent.CLICK, this, onSpriteClick); } private function onSpriteClick(e:Event=null):void { var randomAngle:int = Math.random() * 180; //发送自定义事件 sp.event(ROTATE, [randomAngle]); } // 触发自定义的rotate事件 private function onRotate(newAngle:int):void { Tween.to(sp, {"rotation" : ne...
来源: Laya_示例 发布时间: 20260303
...en( ()=>{ this.onLoadComplete(); } ); } private onLoadComplete(e: any = null): void { let ta: Laya.TextArea = new Laya.TextArea(""); ta.skin = this.skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; this.ow...
来源: Laya3.0_文档 发布时间: 20251010
... typeset() { this._isChanged = false; if (!this._text) { this._clipPoint = null; this._textWidth = this._textHeight = 0; this.graphics.clear(true); return; } Browser.context.font = this._getCSSStyle().font; this._lines.length = 0; this._lineWidths.length = 0; this.typeLines.length = 0; this._text = ...
来源: Laya_社区 发布时间: 20180417
...mera3d.transform.translate(new Vector3(0, 0, 150)); _camera3d.clearColor = null; _camera3d.orthographicProjection = true; _camera3d.transform.rotationEuler = new Vector3(Tools.A2R(-30), Tools.A2R(45)); 当3dcamera有旋转的情况下, Utils3D.convert3DCoordTo2DScreenCoord转换出来的坐标对...
来源: Laya_社区 发布时间: 20161226
...认证令牌支持) static _sendRequest(config) { return __async(this, null, function* () { const { endpoint, method, body, queryParams, token } = config; try { let url = `${this.baseUrl}/${endpoint}`; if (queryParams && Object.keys(queryParams).length > 0) { const searchParams = new UR...
来源: Laya_社区 发布时间: 20251115
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 问题状态 最新活动: 2019-05-29 11:02 浏览: 2630 关注: 6 人 kylin ...
来源: Laya_社区 发布时间: 20190528
...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { sp1.rotation += 2; sp2.rotation += 2; } } }
来源: Laya_示例 发布时间: 20260303
...led = false; } //按钮恢复 function enable_true(v) { v.filters = null; v.mouseEnabled = true; } 报错日志: TypeError: f.action.setValue is not a function at TextureSV.__proto.setFilters (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:22308:15) at TextureSV....
来源: Laya_社区 发布时间: 20170103