大约有 1,257 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
Laya_社区(437) Laya3.0_api(415) Laya2.0_api(164) laya_api(138) Laya2.0_文档(51) Laya3.0_文档(36) Laya2.0_示例(9) Laya_示例(7)
...onSuccess: Handler 带有唯一Position参数的回调处理器。 Default value onError: Handler = null 可选的。带有错误信息的回调处理器。错误代码为Geolocation.PERMISSION_DENIED、Geolocation.POSITION_UNAVAILABLE和Geolocation.TIMEOUT之一。 Returns void Static watchPosition...
来源: Laya3.0_api 发布时间: 20231115
... = 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
... 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
...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
...效果 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
... 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
... 内容如下 '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
... 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
...处理函数。 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
...aram headers (default = null) HTTP 请求的头部信息。参数形如key-value数组:key是头部的名称,不应该包括空白、冒号或换行;value是头部的值,不应该包括换行。比如["Content-Type", "application/json"]。 */ send(url: string, data?: any, method?: "get" | "p...
来源: Laya3.0_文档 发布时间: 20251010