大约有 1,796 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1183) Laya2.0_api(183) laya_api(162) Laya3.0_api(119) Laya2.0_文档(51) Laya_示例(41) Laya2.0_示例(35) Laya3.0_文档(22)
...自己获取了需要的像素矩阵,但我不知道如何将这些uint8Array像素数组去创建一张texture2d,也没有在官网api找到办法,请帮助我。 2018-09-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180906
...ass LayaUISample { private var listP:ListPageUI;//UI面板 private var arr:Array;//list数据数组 public function LayaUISample() { //初始化引擎 Laya.init(600, 800); Laya.stage.bgColor = "#ffcccc"; //加载界面需要的资源文件 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader....
来源: Laya_社区 发布时间: 20170313
... //创建iframe document.body.appendChild(iframe); //添加到body中 xArray = window.frames[window.frames.length-1].Array; var arr = new xArray(1,2,3); // 声明数组[1,2,3] alert(arr instanceof Array); // false alert(arr.constructor === Array); // false 2017-11-02 0 0 分享 微博...
来源: Laya_社区 发布时间: 20170328
...er; ``` 4.宏定义集合 ```typescript public function get defineNames(): Array ``` 5.判断两个着色器变种是否相等 ```typescript public function equal(other: ShaderVariant): Boolean; ``` 着色器变种记录了一个着色器变种所有的相关信息,即通过这个着色器变种...
来源: Laya2.0_文档 发布时间: 20210715
...n(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 SphereShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):void[override] SphereShape _getSpeedBoundBox(boundBox:BoundBox...
来源: laya_api 发布时间: 20170929
...n(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 SphereShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):void[override] SphereShape _getSpeedBoundBox(boundBox:BoundBox...
来源: Laya2.0_api 发布时间: 20190513
... 135*****305 public static function create(caller:*, method:Function, args:Array = null, once:Boolean = true):Handler { if (_pool.length) return _pool.pop().setTo(caller, method, args, once); return new Handler(caller, method, args, once); ...
来源: Laya_社区 发布时间: 20180621
...) { this.gl.useProgram(this.program); this.gl.bindBuffer(Laya.WebGLContext.ARRAY_BUFFER, this.vertexPositionBuffer); this.gl.enableVertexAttribArray(this.vertexPositionAttribute); this.gl.vertexAttribPointer( this.vertexPositionAttribute, this.vertexPositionBuffer.itemSize, Laya.WebGLContext.FLOAT, ...
来源: Laya_社区 发布时间: 20180726
...像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得...
来源: Laya2.0_api 发布时间: 20190513
...n(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 HemisphereShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):void[override] HemisphereShape _getSpeedBoundBox(boundBox:...
来源: laya_api 发布时间: 20170929