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

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

1071. laya.components.Script_API3.0 [ 77%]

...件。 Parameters value: boolean Returns void hideFlags get hideFlags(): number set hideFlags(value: number): void Inherited from Component.hideFlags Defined in laya/components/Component.ts:38 Returns number Inherited from Component.hideFlags Defined in laya/components/Component.ts:42 Parameters val...

来源: Laya3.0_api 发布时间: 20231115

1072. 同一个Graphics里面绘制超过20000个矢量rect的问题(非bug分区半天才2的浏览量,实在没办法) [ 77%]

...次 关于适配采用showAll后留白部分的颜色问题 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 mask在layaplayer中有问题 1.7.20beta有bug,帧属性面板打不开 问题状态 最新活动: 2018-11-13 18:49 浏览: 762 ...

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

1073. 如何在代码中new Poly [ 77%]

...边框宽度。          */         public function drawPoly(x:Number, y:Number, points:Array, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void {   2018-05-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 asdf131...

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

1074. laya.device.geolocation.Geolocation [ 76%]

...更少的电量消耗。 默认值为false。 Geolocation  maximumAge : Number = 0[static] 表示可被返回的缓存位置信息的最大时限。 如果设置为0,意味着设备不使用缓存位置,并且尝试获取实时位置。 如果设置为Infinity,设备必须返回缓存位置...

来源: laya_api 发布时间: 20170929

1075. laya.device.geolocation.Geolocation [ 76%]

...更少的电量消耗。 默认值为false。 Geolocation  maximumAge : Number = 0[static] 表示可被返回的缓存位置信息的最大时限。 如果设置为0,意味着设备不使用缓存位置,并且尝试获取实时位置。 如果设置为Infinity,设备必须返回缓存位置...

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

1076. 微信小游戏想使用截图功能是使用canvasToTempFilePath()吗 [ 76%]

... */ export class ImageData { public data: Uint8ClampedArray; public width: number; public height: number; public constructor(width: number, height: number) { this.width = width; this.height = height; this.data = new Uint8ClampedArray(width * height * 4); } } window.ImageData = ImageData; // 报错...

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

1077. 设置遮罩会导致内存大大增高 [ 76%]

...通过 graphics的drawTriangles来实现drawTriangles(texture:Texture, x:number, y:number, vertices:Float32Array, uvs:Float32Array, indices:Uint16Array, matrix:Matrix = null, alpha:number = 1, color:string = null, blendMode:string = null)这个问题下一版会修改。 2019-07-05 1 1 分享 微博...

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

1078. List组件拖动浏览时item会出现重叠的现象 [ 76%]

...为对应图片的路径 var data: Array<string> = []; for (var i: number = 0; i < 2; ++i) { data.push("img_common_pinzhi0.png"); data.push("img_common_pinzhi1.png"); data.push("img_common_pinzhi2.png"); data.push("img_common_pinzhi3.png"); data.push("img_common_pinzhi4.png"); data.push("im...

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

1079. [LayaAir3]sprite.drawToTexture( ) 无法绘制容器内容 [ 76%]

...在某些骨骼动画无法播放,U3D和1.7.*都没问题 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 关于发布oppo、vivo快游戏,无法生成Rpk问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 点...

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

1080. [laya2.0-2.3]CollisionUtils.ts bug [ 76%]

...ctsRayAndPlaneRP(ray:Ray, plane:Plane, out:Vector3):boolean { var distance:number; if (!CollisionUtils.intersectsRayAndPlaneRD(ray, plane, distance)) { out = Vector3._ZERO; return false; } Vector3.scale(ray.direction, distance, CollisionUtils._tempV30); Vector3.add(ray.origin, CollisionUtils._tempV3...

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