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

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

21. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 87%]

...H_ENTER EVENT_TOUCH_OUT EVENT_TOUCH_STAY Methods destroy event hasListener off offAll offAllCaller on once Constructors constructor new ButtonGamepad(handness: string, index: number): ButtonGamepad Defined in laya/d3/WebXR/core/WebXRGamepad.ts:104 类用于创建Button对象 Parameters handness: str...

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

22. laya.events.EventDispatcher_API3.0 [ 86%]

...ccelerator Shake Gyroscope Socket TimeLine Index Methods event hasListener 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 (可选)回调...

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

23. 取消监听鼠标移动事件,取消不了 [ 86%]

取消监听鼠标移动事件,取消不了 Laya.stage.off(Laya.Event.MOUSE_MOVE,this,null); 第三个参数是函数,不能为null吗?是不是和on绑定时的同一个函数,如果on里面用匿名函数,off第三个参数怎么写? 2018-06-23 添加评论 免费帖 --> 分享 微博...

来源: Laya_社区 发布时间: 20180623

24. laya.components.AnimatorState2D_API3.0 [ 86%]

... AnimatorState2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript clone cloneTo destroy event getScript getScripts hasListener off offAll offAllCaller on once Properties clipEnd clipEnd: number = 1 Defined in laya/components/Anima...

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

25. laya.d3.webxr.core.WebXRInput_API3.0 [ 85%]

...NDNESS_RIGHT Methods addAxisEvent addButtonEvent destroy event hasListener off offAll offAllCaller offAxisEvent offButtonEvent on once Constructors constructor new WebXRInput(handness: string): WebXRInput Defined in laya/d3/WebXR/core/WebXRInput.ts:60 Parameters handness: string Returns WebXRInput P...

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

26. laya.utils.TimeLine_API3.0 [ 84%]

...s total Methods addLabel destroy event from gotoLabel gotoTime hasListener off offAll offAllCaller on once pause play removeLabel reset resume to from to Properties scale scale: number = 1 Defined in laya/utils/TimeLine.ts:45 缩放动画播放的速度。 Accessors total get total(): number Defined...

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

27. laya.resource.Resource_API3.0 [ 84%]

...mory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Properties _id _id: number = 0 Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Defined in laya/resource/Resource.ts:112 是否...

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

28. laya.physics.Physics_API3.0 [ 84%]

...oot I Methods event getBodyCount getContactCount getJointCount hasListener off offAll offAllCaller on once start stop updatePhysicsByWorldRoot enable Constructors constructor new Physics(): Physics Defined in laya/physics/Physics.ts:39 Returns Physics Properties box2d box2d: any = (<any>window...

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

29. laya.d3.component.animator.AnimatorState_API3.0 [ 83%]

...ors constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name speed EVENT_OnStateEnter EVENT_OnStateExit EVENT_OnStateLoop EVENT_OnStateUpdate Accessors clip islooping soloTransitions transitions Methods addScript clone cloneTo event getScript getScripts hasListener off offA...

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

30. 计时器-延迟执行 [ 83%]

...utton; } function onDecreaseAlpha1(e) { //移除鼠标单击事件 button1.off(Event.CLICK, this, onDecreaseAlpha1); //定时执行一次(间隔时间) Laya.timer.once(3000, this, onComplete1); } function onDecreaseAlpha2(e) { //移除鼠标单击事件 button2.off(Event.CLICK, this, onDecreaseAlpha...

来源: Laya_示例 发布时间: 20241002