大约有 194 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...ublic var isCd:Boolean = false; public function CdSprite() { super(); this.scrollRect = rect; this.alpha = 0.85; } public function setSize(bian:int):void{ r = bian / Math.SQRT2; rect = new Rectangle(0,0,bian,bian); this.scrollRect = rect; pos = bian * 0.5; } public function set360(value:int):void { ...
来源: Laya_社区 发布时间: 20171124
物理使用scrollrect错位问题 我在论坛里搜过类似的问题, 但是我这样设置了worldroot还是会错位, 哪里出问题了呢, 求解答 Laya.Physics.I.worldRoot = this.road; this.road.scrollRect = new Laya.Rectangle(0, 100, this.width, this.height); 2020-10-11 添加评论 免...
来源: Laya_社区 发布时间: 20201011
...情况。 如果只是为了实现区域裁剪的功能,使用组件的scrollRect属性去设置可现实区域即可。 var rect = sprite.scrollRect || new Rectangle(); rect.setTo(0, 0, 1000, 600); sprite.scrollRect = rect; 2019-03-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20190301
...。Node numChildren : int[read-only] 子对象数量。 Node optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此对象使用了scrollRect 设定的显示区域以外的显示内容不进行...
来源: laya_api 发布时间: 20170929
...称。Node numChildren : int[read-only] 子对象数量。 Node optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此对象使用了scrollRect 设定的显示区域以外的显示内容不进...
来源: laya_api 发布时间: 20170422
...称。Node numChildren : int[read-only] 子对象数量。 Node optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此对象使用了scrollRect 设定的显示区域以外的显示内容不进...
来源: laya_api 发布时间: 20170422
...h = width; content.height = height; content._style.scrollRect || (content.scrollRect = Rectangle.create()); content._style.scrollRect.setTo(rectX, rectY, width, height); content.scrollRect = content.scrollRect; } 附件 : --> Bug文本.zip 2021-1...
来源: Laya_社区 发布时间: 20211108
...ivElement如何设置文本区域内可以上下拖动的效果,有看到scrollRect的方法,但是没效果,请问如何设置? 2017-09-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同...
来源: Laya_社区 发布时间: 20170905
Sprite optimizeScrollRect = true 似乎有问题 this.initMask = function () { this.mask = new Sprite(); this.mask.width = this.width; this.mask.height = this.height; this.mask.scrollRect = new Rectangle(); this.mask.scrollRect.setTo(0, 0, this.width, this.height); this.mask.optimizeScrollRect = tr...
来源: Laya_社区 发布时间: 20161118
...x() let _rectangle = new Laya.Rectangle(0,0,this.defaultX,55) this.hornBox.scrollRect = _rectangle this.hornBox.height = 55 this.hornBox.pos(70,0) this.hornBox.zOrder = 3 this.html = new HTMLDivElement() this.html.x = this.defaultX this.html.contextHeight = 55 this.html.contextWidth = 1180 this.html...
来源: Laya_社区 发布时间: 20180314