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

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

141. laya2.3 物理系统 怎么获取两个Box的碰撞点 [ 70%]

laya2.3 物理系统 怎么获取两个Box的碰撞点 onTriggerEnter 中的 contact中有个参数m_manifold.localPoint 不知道是不是碰撞点,但是用self.owner.localToGlobal转换之后,位置并不是碰撞点的位置。。那这个碰撞检测 到底哪个参数才是碰撞点 图...

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

142. laya.ui.Clip_API3.0 [ 70%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

143. 图片的裁切 [ 70%]

...包,有的图片不打包? 如图 laya怎么跨域加载图片 如何获取图片每个像素点的RGB? 问题状态 最新活动: 2018-01-27 12:06 浏览: 711 关注: 2 人 q1402907210 • 2018-01-27 12:57 图集动画不行,图片消失的位置不固定是完全随机的,可能会保留...

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

144. laya.ui.Tree_API3.0 [ 70%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

145. laya.ui.Radio_API3.0 [ 70%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Te...

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

146. laya.particle.Particle2D [ 70%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...

来源: laya_api 发布时间: 20170929

147. 物体的x,y输出不一致的问题 [ 69%]

...一个脚本Monster中(也是继承Laya.Sprite)通过使用以下代码获取player的位置时,发现输出的位置信息和我在Player中输出的位置信息不一致: var player :Player = Laya.stage.getChildAt(i) as Player; console.log(player.x); 附:在Player中输出x的信息 一...

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

148. laya.display.AnimationBase [ 69%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

149. laya.map.GridSprite [ 69%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...

来源: laya_api 发布时间: 20170929

150. laya.ui.AutoBitmap [ 69%]

...texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加...

来源: laya_api 发布时间: 20170929