大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0051 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...: 打开 WebGLContext2D.as 找到其中的stroke函数 override public function stroke():void { 在最后加上 _renderKey = -1; 如下: 另外你这样做效率太低了,建议用图片,或者用drawRect来做,line是很慢的 2018-04-02 0 1 分享 微博 QZONE 微信 Laya_XS 赞同...
来源: Laya_社区 发布时间: 20180402
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...ateUniformBufferObject createVertexBuffer3D Legend Object literal Variable Function Type alias Class Class with type parameter Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...ateUniformBufferObject createVertexBuffer3D Legend Object literal Variable Function Type alias Class Class with type parameter Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
... Laya.loader.create("prefab/car.json",Handler.create(this,onCar)); public function onCar(obj:Object):void{ var spr:Prefab = new Prafab(); spr.json=obj; var car:Sprite = Pool.getItemByCreateFun("Car", this.spr.create, this.spr); ...
来源: Laya_社区 发布时间: 20181108
.../** * widget: 放置头像的父节点 * headImgUrl: 微信头像地址 */ function loadHeadImg(widget, headImgUrl) { if (!headImgUrl) { return; } // 通过服务器中转获取图片数据 var url = "http://" + LayaHttp.HALL_HOST + "/public/load_img?url=" + encodeURI(headImgUrl); // 新建一个Spr...
来源: Laya_社区 发布时间: 20171229
...导出app后是否有类似接口针对一个组件截屏? public static function getBase64Str(sp:Sprite, canvasWidth:Number, canvasHeight:Number, offsetX:Number=0, offsetY:Number=0):String { //定义一个HTMLCanvas来接收截屏返回的HTMLCanvas对象;截取原始图片中从(offsetX,offset...
来源: Laya_社区 发布时间: 20180610
...n 此 LoaderManager 对象本身。 */ public function load(url:*, complete:Handler = null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 你可以根据加载回调...
来源: Laya_社区 发布时间: 20180502