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

大约有 1,040 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)

991. laya.ui.VSlider_API3.0 [ 37%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds setSlider set_anchorX set_anchorY set_bottom set_dataSou...

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

992. laya.ui.ScrollBar_API3.0 [ 37%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setScroll setSelfBounds set_anchorX set_anchorY set_bottom set_dataSou...

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

993. laya.ui.Clip_API3.0 [ 37%]

...rialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_dataSource set_he...

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

994. laya.ui.FontClip_API3.0 [ 36%]

...rialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_dataSource set_he...

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

995. laya.ui.Dialog_API3.0 [ 36%]

... onDestroy onDisable onEnable onOpened once open parentRepaint pivot popup pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_dataSource set_height set_sc...

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

996. laya.ui.UIGroup_API3.0 [ 36%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_dataSource set_he...

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

997. 动画节点 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...rue 播放顺序模式 wrapmode 播放类型:默认为0是正序播放(POSITIVE),1为倒序播放(REVERSE),2为pingpong播放(PINGPONG)。 2. 通过LayaAir IDE创建Animation节点 2.1 创建Animation 如动图2-1所示,可以在层级面板中创建Animation节点,点击+或...

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

998. 压缩纹理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

... onAwake(): void { let img = new Laya.Image; Laya.stage.addChild(img); img.pos(500,100); img.skin = "resources/layabox.png"; //纹理压缩的图片的路径 } onStart() { Laya.Stat.show(0, 0); //性能面板 } } 发布后,使用的图片就是压缩后的图片了。 3.2 图集纹理压缩的加...

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

999. IDE1.7.19.1beta打包apk后后,播放spine动画出现图片缺失 [ 36%]

...alignV = "middle"; const spine: Laya.Skeleton = new Laya.Skeleton(); spine.pos(100, 400); spine.load('res/spine/princess1.sk', new Laya.Handler(this, () => { Laya.stage.addChild(spine); spine.play(0, true); })); index.html  <html> <head> <meta charset='utf-8' /> <title>XX...

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

1000. 2D物理-碰撞事件与传感器 [ 35%]

...Body); let bodyOriA = bodyA.getBody(); let bodyOriB = bodyB.getBody(); let position = bodyOriB.GetPosition(); // let center = bodyOriA.GetPosition(); let center = new box2d.b2Vec2((450 + 100) / Physics.PIXEL_RATIO, (300 + 100) / Physics.PIXEL_RATIO); const d = box2d.b2Vec2.SubVV(center, position, ne...

来源: Laya2.0_示例 发布时间: 20260303