大约有 95 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
...。功能同cacheAs的normal模式。 Sprite count : int[read-only] 动画长度。AnimationPlayerBase customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean是否已经销毁。...
来源: laya_api 发布时间: 20170422
...onsole.log('下载进度', res.progress) console.log('已经下载的数据长度', res.totalBytesWritten) console.log('预期需要下载的数据总长度', res.totalBytesExpectedToWrite) }) ``` 本篇文档主要是讲分包方法与开发者经常遇到的window域导致的分包问题。下载...
来源: Laya2.0_文档 发布时间: 20210715
...单位是什么? 在LayaAir-IDE的项目设置面板中,可以自定义长度单位转换比率。 (图5-3) 为什么有些模块无法使用? 在LayaAir-IDE中,使用相应的模块需要在项目设置面板中进行勾选,否则在运行时会报找不到模块或方法的错误。 ...
来源: Laya3.0_文档 发布时间: 20251010
... //设置在shader程序文件里定义的属性的相关描述:[属性长度, 属性类型,false, 属性起始位置索引 * CONST3D2D.BYTES_PE]; this.position = [2, WebGLContext.FLOAT, false, len, 0]; this.texcoord = [2, WebGLContext.FLOAT, false, len, 2 * C...
来源: Laya_社区 发布时间: 20170606
...teArray(array:Array):void 更新数据源,不刷新list,只增加滚动长度 List updateZOrder():void根据zOrder进行重新排序。SpriteProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _childChanged(child:Node = null):void[override] UIC...
来源: Laya2.0_api 发布时间: 20190513
...er.onTTMiniGame && this._recorder) { //开始录屏,设置录屏的时间长度 this._recorder.start({ duration: data.duration }); //监听录屏开始事件 this._recorder.onStart((res)=>{ console.log("录屏开始 res:" + JSON.stringify(res)); }); //监听录屏错误事件 this._recorder.onErro...
来源: Laya2.0_文档 发布时间: 20210715
...)Sprite thumbPercent : Number获取或设置一个值,该值表示滑条长度比例,值为:(0-1)。 ScrollBar tick : Number 滚动的刻度值,滑动数值为tick的整数倍。默认值为1。 ScrollBar timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬...
来源: laya_api 发布时间: 20170929
.../这里是通过游戏宽度 减去 固定 2个 32的宽度 再随机一个长度 这样 可以让地板时间点的出现 更加随机性 this.maxRight = 852 - 32 * 2 - 32 * parseInt(10 * Math.random()); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } //在地板...
来源: Laya_社区 发布时间: 20160728
...)Sprite thumbPercent : Number获取或设置一个值,该值表示滑条长度比例,值为:(0-1)。 ScrollBar tick : Number 滚动的刻度值,滑动数值为tick的整数倍。默认值为1。 ScrollBar timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬...
来源: laya_api 发布时间: 20170929
... Sprite thumbPercent : Number获取或设置一个值,该值表示滑条长度比例,值为:(0-1)。 ScrollBar tick : Number 滚动的刻度值,滑动数值为tick的整数倍。默认值为1。 ScrollBar toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler...
来源: Laya2.0_api 发布时间: 20190513