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

大约有 2,767 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0076 秒)

21. laya.d3.webxr.core.WebXRInput_API3.0 [ 97%]

...bXR/core/WebXRInput.ts:14 Methods addAxisEvent addAxisEvent(index: number, type: string, caller: any, listener: Function): void Defined in laya/d3/WebXR/core/WebXRInput.ts:164 add axis event Parameters index: number axis索引 type: string 事件类型 caller: any 事件侦听函数的执行域。 l...

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

22. laya.device.Shake_API3.0 [ 96%]

...Shake Defined in laya/device/Shake.ts:32 Returns Shake Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

23. laya.components.AnimatorState2D_API3.0 [ 96%]

...ers value: AnimationClip2D | null Returns void Methods addScript addScript(type: typeof AnimatorStateScript): AnimatorStateScript Defined in laya/components/AnimatorState2D.ts:219 添加脚本。 Parameters type: typeof AnimatorStateScript 组件类型。 Returns AnimatorStateScript 脚本。 clone ...

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

24. laya.d3.webxr.core.AxiGamepad_API3.0 [ 96%]

... in laya/d3/WebXR/core/WebXRGamepad.ts:62 destroy Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

25. 用laya自带的ui编辑器 编辑了一个ui界面,怎么加载啊? 怎么写代码让这个ui界面, 在程序运行时,显示出来啊? [ 96%]

...CATTR$(TestPageUI,         ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,...

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

26. laya.media.Sound_API3.0 [ 96%]

...d in laya/media/Sound.ts:38 释放声音资源。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

27. laya.device.motion.Gyroscope_API3.0 [ 96%]

...tion/Gyroscope.ts:33 获得默认值 Returns Gyroscope Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

28. layaUI.max.all.js 这个文件怎么生成的? [ 96%]

...CATTR$(TestPageUI,         ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,...

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

29. laya.display.Input [ 96%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...

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

30. laya.d3.animation.AnimationTransform3D_API3.0 [ 96%]

...ationNode 所属精灵。 Returns AnimationTransform3D Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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