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

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

181. 【简单跑酷--JS版】---Lv.3 添加地板 [ 82%]

...png"); this.bg = new laya.display.Sprite(); this.bg.graphics.clear(); //将当前的坐标向上移动32 方便后面处理人物的位置 this.bg.y = -32; this.addChild(this.bg); } this.bg.graphics.drawTexture(this.bgTexture, 0, 0, 960, 96); //创建一个帧循环处理函数 Laya.timer.frameLoop(...

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

182. laya.ui.AutoBitmap [ 82%]

...示对象的高度,以像素为单位。 AutoBitmap  sizeGrid : Array 当前实例的有效缩放网格数据。 如果设置为null,则在应用任何缩放转换时,将正常缩放整个显示对象。 数据格式:[上边距,右边距,下边距,左边距,是否重复填充(值为0:不...

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

183. laya.d3.component.animator.AnimatorPlayState_API3.0 [ 82%]

... null): void Defined in laya/d3/component/Animator/AnimatorPlayState.ts:33 当前动画State Returns AnimatorState | null Defined in laya/d3/component/Animator/AnimatorPlayState.ts:36 当前动画State Parameters value: AnimatorState | null Returns void duration get duration(): number Defined in lay...

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

184. 请教LayaIDE中的时间轴动效如何复制黏贴? [ 82%]

...制黏贴? 请教LayaIDE中的时间轴动效如何复制黏贴?如果当前的界面要用到另外一个界面里一模一样的动效,只能再一帧一帧的再重新编辑吗? 是在动画编辑模式下编辑的动效。   附件 : --> 2017-03-13 添加评论 免费帖 --> 分享 微...

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

185. laya.display.Stage [ 81%]

... false画布是否发生翻转。Stage  clientScaleX : Number[read-only] 当前视窗由缩放模式导致的 X 轴缩放系数。Stage  clientScaleY : Number[read-only] 当前视窗由缩放模式导致的 Y 轴缩放系数。Stage customRenderEnable : Boolean[write-only] 设置是否开启自...

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

186. laya.display.Graphics [ 81%]

...s  rotate(angle:Number, pivotX:Number = 0, pivotY:Number = 0):void 旋转当前绘图。(推荐使用transform,性能更高) Graphics  save():void 保存当前环境的状态。 Graphics  scale(scaleX:Number, scaleY:Number, pivotX:Number = 0, pivotY:Number = 0):void 缩放当前绘图至更...

来源: laya_api 发布时间: 20170929

187. 分享:List相关(Item增删功能) [ 81%]

...件 if((e.target) is CheckBox) { var tempObj:Object = arr[index];//记录当前条目所包含组件的数据信息(避免后续删除条目后数据结构显示错误) if(((e.target) as CheckBox).selected)//根据check的选中状态,设置条目的数据信息 { listP._list.setItem(index,{clip: ...

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

188. Laya怎么获取深度图,有现成的API,或shader里面有预定义的宏么? [ 81%]

...,有现成的API,或shader里面有预定义的宏么? 想要获取当前场景的深度图,当前相机的API接口好像没有找到获取深度图的接口。shader里面不知道有没有像Unity那样的_CameraDepthTexture的预定义的值。 2018-12-14 添加评论 免费帖 --> 分...

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

189. 调用Laya.loader.load()方法加载资源,怎么获取所加载的资源大小. [ 81%]

...加载两次,请问怎么样才能直接获取到资源文件的大小或当前网速呢? 2018-04-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: tenghai-llx 浏览器里没办法获取...

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

190. laya.d3.core.Layer [ 81%]

...tic] 取Layer激活层。 Layer  _currentCameraCullingMask : int[static] 当前相机遮罩。Layer  currentCreationLayer : Layer[static] 当前创建精灵所属遮罩层。Layer  mask : int[read-only] 取蒙版值。 Layer  name : String名字。Layer  number : int[read-only] 取编号...

来源: laya_api 发布时间: 20170929