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

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

1. laya.device.motion.Accelerator_API3.0 [ 100%]

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

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

2. laya.device.motion.Gyroscope_API3.0 [ 97%]

...使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absolute: 指示设备是否可以提供绝对方位数据(指向地球坐标系),或者...

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

3. laya.media.SoundChannel_API3.0 [ 97%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

4. laya.display.Node_API3.0 [ 96%]

...gs?: any[]): void Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传...

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

5. laya.resource.Resource_API3.0 [ 95%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

6. laya.gltf.glTFResource_API3.0 [ 95%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

7. laya.media.Sound_API3.0 [ 95%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

8. laya.display.Node [ 95%]

... callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node  clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node  contains(node:Node):Boolean...

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

9. LoginView.super(this);这样调用的父类的构造函数的方法,不能用吗 [ 94%]

LoginView.super(this);这样调用的父类的构造函数的方法,不能用吗 LoginView.super(this);这是在教学视频里用的方法,好像不能用了。 这些layaair中特别的语法规则在哪里统一可以找到 var LoginView = function () {     LoginView.super(this);     t...

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

10. laya.d3.animation.AnimationTransform3D_API3.0 [ 94%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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