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

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

161. laya.display.Scene_API3.0 [ 63%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void close close(type?: string): void Defined in laya/display/Scene.ts:149 关闭场景 【注意】被关闭的场景,如果没有设置autoDestroyAtRemoved=true,则资源可能不能被回收,...

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

162. 获取位置信息 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

... * @param onSuccess 带有唯一<code>Position</code>参数的回调处理器。 * @param onError 可选的。带有错误信息的回调处理器。错误代码为Geolocation.PERMISSION_DENIED、Geolocation.POSITION_UNAVAILABLE和Geolocation.TIMEOUT之一。 */ static getCurrentPosition...

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

163. laya.display.EffectAnimation_API3.0 [ 63%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...

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

164. laya.ani.bone.Templet_API3.0 [ 63%]

...。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个参数 p ,且 p 是一个数组,则需要使用结构如:[p],其他的单...

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

165. laya.ani.bone.Skeleton [ 63%]

...动画文件路径  complete:Handler (default = null) — 加载完成的回调函数  aniMode:int (default = 0) — 与Skeleton.init的aniMode作用一致 paused()method  public function paused():void 暂停动画的播放 play()method  public function play(nameOrIndex:*, loop:Boolean, force:Bo...

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

166. laya.ui.View_API3.0 [ 63%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void close close(type?: string): void Inherited from Scene.close Defined in laya/display/Scene.ts:149 关闭场景 【注意】被关闭的场景,如果没有设置autoDestroyAtRemoved=true,则资...

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

167. laya.d3.resource.TextureCube_API3.0 [ 63%]

...。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个参数 p ,且 p 是一个数组,则需要使用结构如:[p],其他的单...

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

168. laya.device.motion.Accelerator [ 63%]

...e获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表示用户给予设备的加速度。 accelerationIncludingGravity: 设备受到的总加速度(包含重力)。 rotationRate: 设备的自转速率。 interval: 加速...

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

169. laya.map.MapLayer_API3.0 [ 63%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...

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

170. laya.ui.DialogManager_API3.0 [ 63%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void close close(dialog: Dialog): void Defined in laya/ui/DialogManager.ts:150 关闭对话框。 Parameters dialog: Dialog 需要关闭的对象框 Dialog 实例。 Returns void closeAll closeAll(): v...

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