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

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

141. 屏幕2d坐标转成3d的世界坐标 [ 82%]

...yaAir里的显示对象添加到matter.js里的物理引擎世界里 怎么获取对象的坐标 屏幕适配怎样实现铺满全屏,又不被拉伸? localToGlobal坐标转换 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 3d坐标转换问题 Starling屏幕适配问...

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

142. laya.display.FrameAnimation_API3.0 [ 82%]

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

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

143. laya.spine.SpineSkeleton_API3.0 [ 81%]

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

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

144. laya.ani.swf.MovieClip_API3.0 [ 81%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 basePath basePath: string Defined in laya/ani/swf/MovieClip.ts:71 资源根目录。 hitTestPrior h...

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

145. laya.ui.ColorPicker_API3.0 [ 81%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Defined in laya/ui/ColorPicker.ts:99 当颜色发生改变时...

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

146. laya.ui.HScrollBar_API3.0 [ 81%]

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

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

147. laya.ui.VScrollBar_API3.0 [ 81%]

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

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

148. laya.display.EffectAnimation_API3.0 [ 81%]

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

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

149. 分享一个虚拟摇杆,比较粗糙,没做优化 [ 81%]

...urn; this.moveX = e.stageX; this.moveY = e.stageY; this.isMode = "run"; // 获取半径 var r = Math.sqrt(Math.pow((this.starX - this.moveX), 2) + Math.pow((this.starY - this.moveY), 2)); //当移动半径大于大圆的半径时,半径等于大圆的0.5的宽度(也就是半径) if (r >= t...

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

150. JS进度条加载问题 [ 81%]

... //设置progress Handler的第4个参数为true,根据加载文件个数获取加载进度 Laya.loader.load(arr,null,Laya.Handler.create(this,onProLoaded),null,true,true); } function showProgress() { progressBar=new Laya.Sprite(); progressBar.loadImage("comp/BG1.jpg",50,300); progressBar.width=30...

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