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

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

471. laya.particle.Particle2D_API3.0 [ 71%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize emitter filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect s...

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

472. laya.media.SoundNode_API3.0 [ 71%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D isMusic loop mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playEvent rotation scaleX scaleY sce...

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

473. 在开启webgl模式下,每次运行texture类的getPixels方法内存都会增加 [ 71%]

...ructor() { //Laya.init(400, 640, Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" Laya.Stat.show() //资源路径 this.Res = "test.png"; this.img = new Laya.Image(); this.img.pos(200, 200) //获取图片资源,绘制到画布 this.img.skin = this.Res //添加到舞台 Laya.stage...

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

474. laya.map.GridSprite_API3.0 [ 71%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

475. laya.utils.Utils [ 71%]

...t — DOM元素引用  coordinateSpace:Sprite — 坐标空间,不能是Stage引用  x:Number — 相对于coordinateSpace的x坐标  y:Number — 相对于coordinateSpace的y坐标  width:Number — 宽度  height:Number — 高度 getGID()method  public static function getGID():int获取...

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

476. laya.map.GridSprite [ 71%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以...

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

477. Laya下的图片上传示例(完整版) [ 71%]

...height<100){ var bgImg = new Laya.Sprite(); bgImg.loadImage(data); Laya.stage.addChild(bgImg) }else{ console.log("图片超标"+width+"--"+height); } }; img.src =data; } }; 2019-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

478. laya.particle.Particle2D [ 71%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node  emitter : EmitterBase[read-only] 获取粒子发射器 Particle2D filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX ...

来源: laya_api 发布时间: 20170929

479. list 加载动画为什么实现的效果会错乱掉? [ 71%]

...ist.itemRender = Item1; list.repeatX = 3; list.repeatY = 4; list.x = (Laya.stage.width - WID * list.repeatY) / 2 - 100; list.y = (Laya.stage.height - HEI ) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.rend...

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

480. laya.ui.Box [ 71%]

...设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像...

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