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

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

1151. laya.device.geolocation.Geolocation_API3.0 [ 45%]

...onSuccess: Handler 带有唯一Position参数的回调处理器。 Default value onError: Handler = null 可选的。带有错误信息的回调处理器。错误代码为Geolocation.PERMISSION_DENIED、Geolocation.POSITION_UNAVAILABLE和Geolocation.TIMEOUT之一。 Returns void Static watchPosition...

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

1152. laya.ani.bone.Skeleton [ 45%]

... = 0, freshSkin:Boolean = true):void 播放动画 Skeleton  playbackRate(value:Number):void 设置动画播放速率 Skeleton pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使...

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

1153. laya.net.URL [ 45%]

... function get basePath():String    public static function set basePath(value:String):voidcustomFormatproperty public static var customFormat:Function 自定义URL格式化的方式。例如: customFormat = function(url:String):String{} exportSceneToJsonproperty public static var exportSceneT...

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

1154. LayaAir2.13中使用ASTC纹理显示异常,使用两个以上ktx纹理时报错。 [ 45%]

...age that scales RGB components in             the image by the alpha value. Preprocessing applies before any             codec encoding swizzle, so color data must be in the RGB             components in the source image. 2022-09-21 0 1 分享 微博 QZONE 微信 为什么被折叠...

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

1155. js进度,进度,js场景进度效果 [ 44%]

...效果 Laya.timer.once(i * 100, this, function() { this.Progress.schedule.value = num; this.Progress.percentage.text = (num * 100).toFixed() + '%'; if (num >= 1) { this.run(); } }); }; p.run = function() { Laya.timer.once(300, this, function() {//给一个延迟 1000ms进度场景 alert('进度...

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

1156. laya.ui.TextArea [ 44%]

...  public function get height():Number    public function set height(value:Number):voidhScrollBarproperty hScrollBar:HScrollBar  [read-only] 水平滚动条实体 Implementation     public function get hScrollBar():HScrollBarhScrollBarSkinproperty hScrollBarSkin:String水平滚动条皮...

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

1157. LAYAIDE运行VSCODE插件失败问题(VSCODE正常) [ 44%]

... 内容如下 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const vscode = require("vscode"); function activate(context) { let disposable = vscode.commands.registerCommand('extension.buildTemplate', () => { vscode.window.showInformationMessage('build template comple...

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

1158. laya.ui.TextArea [ 44%]

...  public function get height():Number    public function set height(value:Number):voidhScrollBarproperty hScrollBar:HScrollBar  [read-only] 水平滚动条实体 Implementation     public function get hScrollBar():HScrollBarhScrollBarSkinproperty hScrollBarSkin:String水平滚动条皮...

来源: laya_api 发布时间: 20170929

1159. laya.utils.Stat [ 44%]

...处理函数。 Implementation     public static function set onclick(value:Function):voidrenderSlowproperty public static var renderSlow:Boolean = false 表示当前使用的是否为慢渲染模式。shaderCallproperty public static var shaderCall:int = 0 着色器请求次数。spriteCountp...

来源: laya_api 发布时间: 20170929

1160. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...aram headers (default = null) HTTP 请求的头部信息。参数形如key-value数组:key是头部的名称,不应该包括空白、冒号或换行;value是头部的值,不应该包括换行。比如["Content-Type", "application/json"]。 */ send(url: string, data?: any, method?: "get" | "p...

来源: Laya3.0_文档 发布时间: 20251010