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

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

251. laya.ui.ScaleBox_API3.0 [ 77%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize...

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

252. laya.ani.bone.Skeleton_API3.0 [ 77%]

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

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

253. 怎么任意裁切一张图片作为一个image [ 77%]

...xture的x位置。 * @param y 相对于目标Texture的y位置。 * @param width 截取的宽度。 * @param height 截取的高度。 * @return 返回一个新的Texture。 */ public static function createFromTexture(texture:Texture, x:Number, y:Number, width:Number, height:Number):Texture 这个...

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

254. laya.ui.Box_API3.0 [ 77%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize...

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

255. 创建动画时画布的width和height与 实例化后的ani.size(width, height) 有什么区别 [ 77%]

创建动画时画布的width和height与 实例化后的ani.size(width, height) 有什么区别 如题 2017-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: 你是说在ID...

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

256. laya.map.MapLayer [ 77%]

...mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY ...

来源: laya_api 发布时间: 20170929

257. laya.utils.PerfHUD [ 77%]

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

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

258. 克隆sprite [ 77%]

...面的“   tempSpr2.graphics.drawTexture(tempSpr.texture, 0, 0, tempSpr.width, tempSpr.height);”中 tempSpr.texture 是空的 if (data && data.items != []) {             let tempSpr: Sprite = new Sprite();             let tempImg: Laya.Image;             let arr: Arr...

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

259. 关于2d内的坐标转换问题 [ 77%]

...true); }globalPoint: 绿色框的坐标 -- 舞台中央坐标(Laya.stage.width*.5,Laya.stage.height*.5) localSp:黑框容器对象 直接带入上面方法即可,中央的坐标你只知道相对于绿色框的坐标,则需要转换一下,很简单: globalPoint = greenBox.localToGlobal(n...

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

260. laya.ui.ScaleBox [ 77%]

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

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