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

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

241. 如何把一个像素数组生成一张texture2D [ 79%]

...自己获取了需要的像素矩阵,但我不知道如何将这些uint8Array像素数组去创建一张texture2d,也没有在官网api找到办法,请帮助我。 2018-09-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

来源: Laya_社区 发布时间: 20180906

242. 分享:List相关(Item增删功能) [ 79%]

...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

243. ts怎么判断对象是否是某个类 [ 79%]

... //创建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

244. Shader预编译(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 79%]

...er; ``` 4.宏定义集合 ```typescript public function get defineNames(): Array ``` 5.判断两个着色器变种是否相等 ```typescript public function equal(other: ShaderVariant): Boolean; ``` 着色器变种记录了一个着色器变种所有的相关信息,即通过这个着色器变种...

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

245. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 79%]

...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

246. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 79%]

...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

247. Laya.Handler.create 加载图片回调参数问题 [ 79%]

... 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

248. 修改了Scene下的WebGL参数导致渲染3D对象出现局部透明 [ 79%]

...) { 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

249. laya.ui.ViewStack [ 79%]

...像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得...

来源: Laya2.0_api 发布时间: 20190513

250. laya.d3.core.particleShuriKen.module.shape.HemisphereShape [ 79%]

...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