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

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

51. laya.device.motion.Gyroscope_API3.0 [ 78%]

...//developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 info: RotationInfo类型参数,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorientation Hierarchy EventDispatcher Gyroscope Index Constructors constructor Accesso...

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

52. laya.d3.component.animator.AnimatorController_API3.0 [ 77%]

...e AnimatorController Index Constructors constructor Properties _id clipsID data destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _set...

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

53. laya.utils.Handler_API3.0 [ 76%]

...in laya/utils/Handler.ts:56 执行处理器。 Returns any runWith runWith(data: any): any Defined in laya/utils/Handler.ts:68 执行处理器,并携带额外数据。 Parameters data: any 附加的回调数据,可以是单数据或者Array(作为多参)。 Returns any setTo setTo(caller: any, m...

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

54. laya.resource.PrefabImpl_API3.0 [ 76%]

...rarchy Prefab PrefabImpl Index Constructors constructor Properties _id api data destroyedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setC...

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

55. laya.events.EventDispatcher_API3.0 [ 76%]

...Listener off offAll offAllCaller on once Methods event event(type: string, data?: any): boolean Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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

56. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

...节点被添加到舞台后 onEnable(): void { // 给List对象赋值 var data: Array<any> = []; for (var m: number = 0; m < 20; m++) { data.push({ m_label: "No." + m }); } this.list.array = data; } } 代码中,m_label的命名要与List列表项下的Label组件命名相同。 1.2.5 运...

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

57. laya.d3.physics.PhysicsCollider [ 75%]

...  _onTransformChanged(flag:int):void[override] PhysicsCollider  _parse(data:Object):void[override] PhysicsCollider  _removeFromSimulation():void[override] PhysicsCollider destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则...

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

58. laya.d3.resource.Texture2D [ 75%]

...Texture2D[static] 加载Texture2D。 Texture2D  onAsynLoaded(url:String, data:*, params:Array):void[override] private Texture2DProtected Methods  MethodDefined By  detoryResource():void[override] 销毁资源。 Texture2D  recreateResource():void[override] 重新创建资源,如果异步创...

来源: laya_api 发布时间: 20170929

59. laya.net.Loader [ 75%]

...PropertyDefined By  cache : Boolean[read-only] 是否缓存。Loader  data : *[read-only] 返回的数据。Loader  maxTimeOut : int = 100[static] 每帧回调最大超时时间,如果超时,则下帧再处理。Loader  parserMap : Object[static] 资源解析函数对应表,用来扩...

来源: laya_api 发布时间: 20170929

60. laya.d3.core.material.BaseMaterial [ 74%]

...rial  _addReference(count:int = 1):void[override] BaseMaterial  _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial  _removeReference(count:int = 1):void[override] BaseMaterial  clone():* 克隆。 BaseMaterial  cloneTo(destObject:*)...

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