大约有 374 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0145 秒)
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 drawImageNum drawImageNum: number = 0 Defined in laya/map/GridSprite.ts:25 当前GRID包含多少...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
... Canvas” 的放缩策略 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? 在线急等,发现...
来源: Laya_社区 发布时间: 20171123
...存就会显示成负数 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 matter中layasprite怎么改变图片大小? 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同时滚动一模一样。 想让一个2D的图...
来源: Laya_社区 发布时间: 20170216
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...碰撞可以这么写,里面的bounds即为图片最大矩形框,直接获取其属性: if(imageA.bounds.intersects(imageB.bounds)) { trace("撞到了"); } 在layaAir中也找到了intersects方法,不过用法好像不太一样,public function intersects(rect:Rectangle):Boolean 问...
来源: Laya_社区 发布时间: 20161202
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 closeEffectHandler closeEffectHandler: Handler = new Handler(this, this.closeEffect) Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115