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

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

31. laya.device.motion.Accelerator_API3.0 [ 96%]

...ya/device/motion/Accelerator.ts:37 Returns Accelerator Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

32. laya.net.HttpRequest_API3.0 [ 96%]

...t/HttpRequest.ts:187 请求的地址。 Returns string Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

33. laya.display.Input [ 96%]

...会影响drawcall。Sprite  asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星...

来源: laya_api 发布时间: 20170929

34. laya.d3.component.animator.AnimatorState_API3.0 [ 96%]

...eters value: AnimatorTransition[] Returns void Methods addScript addScript(type: typeof AnimatorStateScript): AnimatorStateScript Defined in laya/d3/component/Animator/AnimatorState.ts:290 添加脚本。 Parameters type: typeof AnimatorStateScript 组件类型。 Returns AnimatorStateScript 脚本...

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

35. laya.media.SoundChannel_API3.0 [ 95%]

...最大音量)。 Parameters v: number Returns void Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

36. 预制体模块 · LayaAir3.0文档 · LAYABOX [ 95%]

...criptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { //加载预制体文件 Laya.loader.load("resources/Title.lh").then( (res)=>{ //创建预制体 let label: Laya.Label = res.create(); /...

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

37. laya.net.Loader_API3.0 [ 95%]

...EXTURECUBE TTF VIDEO XML downloader extMap groupMap loadedMap preLoadedMap typeMap Accessors loading Methods cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearTextureRes clearUnLoaded event fetch getRes hasListener load loadPackage off offAll offAllCaller on once cacheRes clearRes clearResByGr...

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

38. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 95%]

...in laya/d3/WebXR/core/WebXRGamepad.ts:211 destroy Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

39. laya.net.HttpRequest [ 95%]

...ited Public Methods Show Inherited Public Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

来源: laya_api 发布时间: 20170929

40. laya.net.HttpRequest [ 95%]

...ited Public Methods Show Inherited Public Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

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