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

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

11. laya.events.EventDispatcher_API3.0 [ 97%]

.../Protected All Inherited Externals Only exported Menu Globals "laya/events/EventDispatcher" EventDispatcher Class EventDispatcher EventDispatcher 类是可调度事件的所有类的基类。 Hierarchy EventDispatcher Resource Node Transform3D SoundChannel Sound HttpRequest Loader AnimatorState Anim...

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

12. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 97%]

... ButtonGamepad Class ButtonGamepad 类用来描述gamepad Button Hierarchy EventDispatcher ButtonGamepad Index Constructors constructor Properties handness index EVENT_PRESS_ENTER EVENT_PRESS_OUT EVENT_PRESS_STAY EVENT_PRESS_VALUE EVENT_TOUCH_ENTER EVENT_TOUCH_OUT EVENT_TOUCH_STAY Methods destroy ev...

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

13. EventDispatcher.off的逻辑 [ 96%]

EventDispatcher.off的逻辑 想请问一下,图中listeners[i]=null的问题; 当listener1,listener2同时监听事件A,  listener1永远不移除监听, listener2不断的添加移除,这种情况会导致listeners的长度无限增长,只是里面的元素为null值。增加了遍...

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

14. laya.components.AnimatorState2D_API3.0 [ 96%]

...2D Class AnimatorState2D Animator 类用于创建动画组件。 Hierarchy EventDispatcher 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 of...

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

15. laya.d3.webxr.core.WebXRInput_API3.0 [ 96%]

...RInput Class WebXRInput author miner 类用来描述输入设备 Hierarchy EventDispatcher WebXRInput Index Constructors constructor Properties _lastXRPose gamepadAxis gamepadButton handness lastXRPose position ray rotation EVENT_FRAMEUPDATA_WEBXRINPUT HANDNESS_LEFT HANDNESS_RIGHT Methods addAxisEve...

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

16. laya.utils.TimeLine_API3.0 [ 95%]

... TimeLine TimeLine 是一个用来创建时间轴动画的类。 Hierarchy EventDispatcher TimeLine Index Properties scale Accessors total Methods addLabel destroy event from gotoLabel gotoTime hasListener off offAll offAllCaller on once pause play removeLabel reset resume to from to Properties scal...

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

17. laya.resource.Resource_API3.0 [ 95%]

...ce/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2D AnimatorController2D TextResource AnimationTemplet ...

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

18. laya.physics.Physics_API3.0 [ 95%]

...hysics" Physics Class Physics 2D物理引擎,使用Box2d驱动 Hierarchy EventDispatcher Physics Index Constructors constructor Properties box2d positionIterations velocityIterations world PIXEL_RATIO Accessors allowSleeping gravity worldRoot I Methods event getBodyCount getContactCount getJointCo...

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

19. laya.d3.component.animator.AnimatorState_API3.0 [ 95%]

...Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy EventDispatcher AnimatorState Implements IClone Index Constructors constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name speed EVENT_OnStateEnter EVENT_OnStateExit EVENT_OnStateLoop EVENT_OnStateU...

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

20. laya.d3.core.render.ScreenTriangle_API3.0 [ 94%]

...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 (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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