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

大约有 901 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0087 秒)

421. laya.display.Scene [ 71%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...

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

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

...getSelfBounds() this.img.pivot(Math.round(rect.width / 2), Math.round(rect.height / 2)) let bound = this.img.getBounds() this.cacheCanvas = this.img.drawToCanvas(Math.ceil(bound.width), Math.ceil(bound.height), Math.round(bound.width / 2), Math.round(bound.height / 2)) this.cacheTexture = new Laya.T...

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

423. laya.utils.Utils [ 71%]

...Area(dom:Object, coordinateSpace:Sprite, x:Number, y:Number, width:Number, height:Number):void[static] 使DOM元素使用舞台内的某块区域内。 Utils  getGID():int[static] 获取一个全局唯一ID。Utils  getGlobalPosAndScale(sprite:Sprite):Rectangle[static] 计算传入的显示对...

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

424. 在开放数据域/子域里list滑动事件偏移,重设矩阵没有用 [ 71%]

....sharedCanvas.width = message.data.width; Laya.Browser.window.sharedCanvas.height = message.data.height; var tempMatrix = message.data.matrix; var matrix = new Laya.Matrix(); matrix.a = tempMatrix.a; matrix.b = tempMatrix.b; matrix.c = tempMatrix.c; matrix.d = tempMatrix.d; Laya.stage._canvasTransfo...

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

425. laya.particle.Particle2D [ 71%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite  emitter : Emitt...

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

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

...lay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize emitter filters globalRotation global...

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

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

...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globa...

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

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

...ation mouseThrough name relativeX relativeY tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX g...

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

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

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

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

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

...e=new Sprite();             sp.width=100;             sp.height=100;             sp.graphics.drawRect(0,0,100,100,"#ff0000");             sp.on(Event.MOUSE_OVER,this,onMouse);             sp.on(Event.MOUSE_OUT,this,onMouse);             Laya.stag...

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