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

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

471. laya.map.GridSprite [ 71%]

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

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

472. 3D游戏如何截图 [ 71%]

3D游戏如何截图 使用 Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0);  截取3D场景 会出现模型穿透的问题。 有人反馈过了。   请问 3D场景如何截图啊?   按照像素截图 咋写代码 2019-04-23 添加评论 免费帖 --> 分享 微博 QZONE ...

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

473. 修复开放数据域组件WXOpenDataViewer鼠标不能拖动的问题 [ 71%]

...           mat.translate(p.x, p.y);             var stage: Laya.Stage = Laya.stage;              mat.scale(stage._canvasTransform.getScaleX() * this.globalScaleX * stage.transform.getScaleX(), stage._canvasTransform.getScaleY() * this.globalScaleY * stage.transfor...

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

474. 关于mouseover的问题 [ 71%]

...{             Laya.init(600,600,WebGL);             Laya.stage.alignH=Stage.ALIGN_MIDDLE;             Laya.stage.alignV=Stage.ALIGN_TOP;                          var sp:Sprite=new Sprite();             sp.width=100;             sp.height...

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

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.particle.Particle2D [ 71%]

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

来源: laya_api 发布时间: 20170929

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

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

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

480. 在开启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