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

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

771. laya.map.MapLayer_API3.0 [ 71%]

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

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

772. 2.3微信截图分享问题 [ 71%]

...分享。 var tempFilePath = canvas.toTempFilePathSync( { x: 0, y: 0, width: 100, height: 100, destWidth: 100, destHeight: 100, fileType: 'jpg', quality: 1.0 });   var canvas = Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0).getCanvas();   这是第二种写法。...

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

773. laya.ui.DialogManager_API3.0 [ 71%]

...hrough name popupEffectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY g...

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

774. SpineSkeleton 创建的骨骼动画,采用WebGL渲染模式,在置灰状态,不能完全灰化 [ 71%]

...模式,在置灰状态,不能完全灰化 采用:Laya.init(Env.GAME_WIDTH, Env.GAME_HEIGHT),骨骼灰化正常的; 采用:Laya.init(Env.GAME_WIDTH, Env.GAME_HEIGHT, Laya.WebGL);骨骼动画无法完全灰化,如下图;   附件 : --> test_Laya.zip 2021-10-20 添加评论 免费帖 ...

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

775. 骨骼动画-换装 [ 71%]

...= ["goblin","goblingirl"]; (function() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parse...

来源: Laya_示例 发布时间: 20260303

776. 如何动态获取image的宽高? [ 71%]

如何动态获取image的宽高? var thisp:Point=new Point((this.width*this.scaleX)/2,(this.height*this.scaleY)/2); //thisp=this.globalToLocal(this.localToGlobal(thisp)); //trace(thisp.x,thisp.y,"dddddddd") var tf:Matrix=new Matrix(); tf.translate(-thisp.x,-thisp.y); __jd+=jd; tf.rotate(__jd); t...

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

777. laya.ani.swf.MovieClip_API3.0 [ 71%]

...nterval loop mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalSc...

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

778. 能详细解释一下Sprite的属性autoSize的使用吗,API解释了但不是很明白,感觉不是很会使用 [ 71%]

...性能考虑,sprite精灵默认是没有宽高的,所以获取sprite的width和height=0,添加autoSize方法,程序在运行时可以自动计算宽高,得到width和height的值,但是这样会增加计算量,不建议开发者大量使用。 2017-01-12 0 0 分享 微博 QZONE 微信 ...

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

779. laya.ui.Tree [ 71%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...

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

780. 按照官方例子操作,自定义组件编译出错 [ 71%]

...更新时间是2016年的 代码里写的是model && model.size(_width, _height); 但是最新引擎ui的代码里换成了conchModel && conchModel.size(_width, _height); 所以报错了   哪里能下载到最新的编辑器组件源码啊??   难道是要放弃更新了? 20...

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