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

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

1. laya.net.LocalStorage_API3.0 [ 100%]

...LocalStorage Class LocalStorage LocalStorage 类用于没有时间限制的数据存储。 Hierarchy LocalStorage Index Properties _baseClass items support Methods clear getItem getJSON removeItem setItem setJSON Properties Static _baseClass _baseClass: any Defined in laya/net/LocalStorage.ts:7 @ ...

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

2. laya.net.HttpRequest_API3.0 [ 98%]

...因为每次调用该对象的send方法时,都会清空之前设置的数据,并重置 HTTP 请求的状态,这会导致之前还未返回响应的请求被重置,从而得不到之前请求的响应结果。 Hierarchy EventDispatcher HttpRequest Index Accessors data http url Methods event ...

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

3. laya.net.Socket_API3.0 [ 98%]

...wser/Client Agent 都能主动的向对方发送或接收文本和二进制数据。 要使用 Socket 类的方法,请先使用构造函数 new Socket 创建一个 Socket 对象。 Socket 以异步方式传输和接收数据。 Hierarchy EventDispatcher Socket Index Constructors constructor Proper...

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

4. laya.d3.graphics.IndexBuffer3D_API3.0 [ 95%]

...: Uint16Array Defined in laya/d3/graphics/IndexBuffer3D.ts:130 获取索引数据。 Returns Uint16Array 索引数据。 setData setData(data: any, bufferOffset?: number, dataStartIndex?: number, dataCount?: number): void Defined in laya/d3/graphics/IndexBuffer3D.ts:92 设置数据。 Parameters dat...

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

5. laya.device.motion.Gyroscope_API3.0 [ 95%]

...nfo:RotationInfo):void absolute: 指示设备是否可以提供绝对方位数据(指向地球坐标系),或者设备决定的任意坐标系。关于坐标系参见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 info: RotationInfo类型参数...

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

6. laya.events.EventDispatcher_API3.0 [ 92%]

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

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

7. laya.d3.renderobjs.nativeobj.NativeIndexBuffer3D_API3.0 [ 91%]

...fer3D.getData Defined in laya/d3/graphics/IndexBuffer3D.ts:130 获取索引数据。 Returns Uint16Array 索引数据。 setData setData(data: any, bufferOffset?: number, dataStartIndex?: number, dataCount?: number): void Inherited from IndexBuffer3D.setData Defined in laya/d3/graphics/IndexBuffer3D...

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

8. laya.ani.bone.SkinSlotDisplayData_API3.0 [ 90%]

...SlotDisplayData" SkinSlotDisplayData Class SkinSlotDisplayData 插槽显示数据 Hierarchy SkinSlotDisplayData Index Properties attachmentName bones height lengths name texture transform triangles type uvs verLen vertices weights width Methods createTexture destory Properties attachmentName attachm...

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

9. laya.ani.AnimationPlayer_API3.0 [ 89%]

...mationTemplet): void Defined in laya/ani/AnimationPlayer.ts:75 获取动画数据模板 Returns AnimationTemplet Defined in laya/ani/AnimationPlayer.ts:83 设置动画数据模板,注意:修改此值会有计算开销。 Parameters value: AnimationTemplet 动画数据模板 Returns void Methods ev...

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

10. laya.device.Shake_API3.0 [ 89%]

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

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