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

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

1. laya.utils.Byte_API3.0 [ 100%]

...个由 length 参数指定的长度的 UTF-8 字节序列,并返回一个符串。 一般读取的是由 writeUTFBytes 方法写入的符串。 Parameters Default value len: number = -1 要读的buffer长度,默认将读取缓冲区全部数据。 Returns string 读取的符串。 getUT...

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

2. laya.utils.Utils_API3.0 [ 97%]

...ng, radix?: number): number Defined in laya/utils/Utils.ts:120 解析一个符串,并返回一个整数。和JS原生的parseInt不同:如果str为空或者非数字,原生返回NaN,这里返回0。 Parameters str: string 要被解析的符串。 Default value radix: number = 0 表示...

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

3. laya.ui.UIUtils_API3.0 [ 91%]

... typeof Number | typeof String): any[] Defined in laya/ui/UIUtils.ts:19 用符串填充数组,并返回数组副本。 Parameters arr: any[] 源数组对象。 str: string 用逗号连接的符串。如"p1,p2,p3,p4"。 Default value type: typeof Number | typeof String = null 如果值不为n...

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

4. laya.display.Text_API3.0 [ 88%]

...rs _parseEscapeChars: boolean Defined in laya/display/Text.ts:202 是否将符串中的\n,\t转换为实际功能的字符 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/...

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

5. laya.display.Input_API3.0 [ 86%]

...d from Text._parseEscapeChars Defined in laya/display/Text.ts:202 是否将符串中的\n,\t转换为实际功能的字符 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/...

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

6. laya.maths.Point_API3.0 [ 86%]

...ring Defined in laya/maths/Point.ts:73 返回包含 x 和 y 坐标的值的符串。 Returns string Static create create(): Point Defined in laya/maths/Point.ts:31 从对象池创建 Returns Point Globals "laya/maths/Point" Point constructor x y TEMP copy distance normalize recover reset setTo to...

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

7. laya.ani.bone.EventData_API3.0 [ 82%]

... stringValue stringValue: string Defined in laya/ani/bone/EventData.ts:12 符串数据 time time: number Defined in laya/ani/bone/EventData.ts:16 事件数据 Globals "laya/ani/bone/EventData" EventData constructor audioValue floatValue intValue name stringValue time Legend Object literal Variabl...

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

8. laya.net.Socket_API3.0 [ 80%]

...ault value protocols: any[] | null = null 子协议名称。子协议名称符串,或由多个子协议名称符串构成的数组 Default value isSecure: boolean = false 是否使用WebSocket安全协议wss,默认(false)使用普通协议ws Returns Socket Properties disableInput disab...

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

9. laya.ui.UIGroup_API3.0 [ 79%]

...Group 类实例。 Parameters Default value labels: string = null 标签集符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns UIGroup Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya...

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

10. laya.ui.RadioGroup_API3.0 [ 79%]

...Group 类实例。 Parameters Default value labels: string = null 标签集符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns RadioGroup Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in l...

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