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

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

241. 截图保存的时候可以设置图片的大小? [ 71%]

...怎么回事? 关于同object层,层级设置无效的问题 如何获取图片每个像素点的RGB? 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 laya怎么跨域加载图片 什么有的...

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

242. laya.ui.VSlider_API3.0 [ 71%]

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

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

243. 寻路系统(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 71%]

... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...

来源: Laya2.0_文档 发布时间: 20210715

244. 寻路系统(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 71%]

...抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,path[nextPathIndex++ % pointCount].z, endPoint); //开...

来源: Laya2.0_文档 发布时间: 20210714

245. laya.display.Input_API3.0 [ 71%]

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

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

246. laya.ui.Button_API3.0 [ 71%]

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

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

247. laya.ui.CheckBox_API3.0 [ 71%]

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

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

248. laya.ui.List_API3.0 [ 71%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性true,或者通过getBounds方法获取。设置true,对性能有一定影响。 cacheContent cacheContent: boolean Defined in laya/ui/List.ts:221 是否缓存内容,如果数据...

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

249. laya.display.Input [ 71%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中...

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

250. laya.display.Graphics [ 71%]

...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