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

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

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

...color: number): string Defined in laya/utils/Utils.ts:33 将传入的 uint 类型颜色值转换为字符串型颜色值。 Parameters color: number 颜色值。 Returns string 字符串型颜色值。 Static toRadian toRadian(angle: number): number Defined in laya/utils/Utils.ts:15 角度转弧度...

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

2. laya.physics.Physics_API3.0 [ 97%]

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

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

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

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

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

4. laya.resource.HTMLCanvas_API3.0 [ 91%]

...rce.__constructor Defined in laya/resource/HTMLCanvas.ts:59 根据指定的类型,创建一个 HTMLCanvas 实例。 Parameters Default value createCanvas: boolean = false Returns HTMLCanvas Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyed...

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

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

...apMode: number = 0 Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBase.WRAP_PINGPONG为pingpong播放(当按指定顺序播放完结尾后,如果继续播发,则会改...

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

6. laya.display.FrameAnimation_API3.0 [ 86%]

...ationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBase.WRAP_PINGPONG为pingpong播放(当按指定顺序播放完结尾后,如果继续播发,则会改...

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

7. laya.html.dom.HTMLIframeElement_API3.0 [ 85%]

...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:925 添加组件实例。 Parameters component: ...

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

8. laya.display.Animation_API3.0 [ 85%]

...ationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBase.WRAP_PINGPONG为pingpong播放(当按指定顺序播放完结尾后,如果继续播发,则会改...

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

9. laya.media.SoundNode_API3.0 [ 85%]

...ue: boolean): void Defined in laya/media/SoundNode.ts:47 如果是,音乐类型为背景音乐,否则为音效 Returns boolean Defined in laya/media/SoundNode.ts:51 如果是,音乐类型为背景音乐,否则为音效 Parameters value: boolean Returns void loop get loop(): number set loop(v...

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

10. laya.html.dom.HTMLDivElement_API3.0 [ 85%]

...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:925 添加组件实例。 Parameters component: ...

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