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

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

61. 仿照laya官方demo做了一个视频播放的UI,为啥在微信里不能用? [ 45%]

...t.controls = false; videoElmt.autoplay = true; videoElmt.loop = "loop"; // 阻止IOS视频全屏 videoElmt.setAttribute("webkit-playsinline", true); videoElmt.setAttribute("playsinline", true); // 设置画布上的对齐参照物 let reference: Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(r...

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

62. 物理(二)(平移,旋转,齿轮)(TypeScript-IDE篇(TS)-使用2d物理系统) [ 37%]

...cJoint` : 移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转。 ##### 属性介绍 ##### otherBody [首次设置有效]关节的连接刚体,可不设置,默认为左上角空刚体,拖入刚体对象即可设置完成。 ##### anchor [首次设置有效]关节...

来源: Laya2.0_文档 发布时间: 20210715

63. laya.events.Event [ 37%]

...target:Sprite):Event 设置事件数据。 Event  stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响当前节点 (currentTarget) 中的任何事件侦听器。 EventPublic Constants ConstantDefined By  ADDED : S...

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

64. laya.events.Event [ 36%]

...target:Sprite):Event 设置事件数据。 Event  stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响当前节点 (currentTarget) 中的任何事件侦听器。 EventPublic Constants ConstantDefined By  ACTIVE_IN...

来源: laya_api 发布时间: 20170929

65. laya.ui.UIEvent [ 35%]

..., target:Sprite):Event 设置事件数据。 Event stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响当前节点 (currentTarget) 中的任何事件侦听器。 EventPublic Constants Hide Inherited Public Constants ...

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

66. laya.ui.UIEvent [ 34%]

..., target:Sprite):Event 设置事件数据。 Event stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响当前节点 (currentTarget) 中的任何事件侦听器。 EventPublic Constants Hide Inherited Public Constants ...

来源: laya_api 发布时间: 20170929

67. laya.physics.joint.PrismaticJoint_API3.0 [ 32%]

...移关节:移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转 Hierarchy JointBase PrismaticJoint Index Constructors constructor Properties _extra _singleton anchor axis collideConnected otherBody owner runInEditor scriptPath selfBody Accessors awaked destroyed enableL...

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

68. 2D性能优化 · LayaAir3.0文档 · LAYABOX [ 22%]

...all,性能中等。 设置cacheAs后,还可以设置staticCache=true以阻止自动更新缓存,同时可以手动调用reCache方法更新缓存。 cacheAs主要通过两方面提升性能。一是减少节点遍历和顶点计算;二是减少drawCall。善用cacheAs将是引擎优化性能...

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

69. laya.events.Event_API3.0 [ 22%]

...topPropagation stopPropagation(): void Defined in laya/events/Event.ts:218 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响当前节点 (currentTarget) 中的任何事件侦听器。 Returns void Static isMouseEvent isMouseEvent(type: st...

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