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

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

11. 3D 触发器如何获取碰撞位置 [ 92%]

...取碰撞位置 onCollisionEnter(obj: Laya.Collision) { let node: Laya.MeshSprite3D = obj.other.owner as Laya.MeshSprite3D; let owner: Laya.MeshSprite3D = this.owner as Laya.MeshSprite3D; let position = obj.contacts[0].positionOnA; // 碰撞位置 }     onTriggerEnter(obj) 、、如何获取碰撞...

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

12. laya.ui.VSlider [ 91%]

...ckagelaya.uiClasspublic class VSliderInheritanceVSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向。滑块轨道从下往上扩展,而标签位于轨道...

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

13. laya.ui.HSlider [ 91%]

...ckagelaya.uiClasspublic class HSliderInheritanceHSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向。滑块轨道从左向右扩展,而标签位于轨道...

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

14. laya.ui.Panel [ 91%]

...nts Packagelaya.uiClasspublic class PanelInheritancePanel Box UIComponent Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node ...

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

15. laya.ui.Panel [ 91%]

...vents Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1...

来源: laya_api 发布时间: 20170929

16. 如何获取和设置scrollbar的滚动位置 [ 91%]

...aya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 如何设置Sprite的宽高和点击区域? anchor锚点设置不生效 鼠标滚轮滚动事件 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 龙骨skeleton鼠...

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

17. 求问sprite放大后,graphics绘制的图像位置偏移 [ 91%]

求问sprite放大后,graphics绘制的图像位置偏移 let sprite: Sprite = new Sprite(); let texture: Laya.Texture = Laya.loader.getRes(this.skin_img1); sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); sprite.size(texture.width, texture.height); let x: number = 300; ...

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

18. laya.map.TileAniSprite [ 91%]

...entationAll Packages | All Classes | Index | Frames No Frames TileAniSpriteProperties | Methods | Events Packagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个...

来源: laya_api 发布时间: 20170929

19. laya.ui.VScrollBar [ 91%]

...ya.uiClasspublic class VScrollBarInheritanceVScrollBar ScrollBar Component Sprite Node EventDispatcher Object 使用 VScrollBar (垂直 ScrollBar )控件,可以在因数据太多而不能在显示区域完全显示时控制显示的数据部分。 Public Properties Hide Inherited Public Proper...

来源: laya_api 发布时间: 20170929

20. laya.ui.HScrollBar [ 90%]

...ya.uiClasspublic class HScrollBarInheritanceHScrollBar ScrollBar Component Sprite Node EventDispatcher Object 使用 HScrollBar (水平 ScrollBar )控件,可以在因数据太多而不能在显示区域完全显示时控制显示的数据部分。 Public Properties Hide Inherited Public Proper...

来源: laya_api 发布时间: 20170929