第二章 Slate UI 开发

编辑器深度集成离不开 Slate。这一章把 Slate 的语法、布局、事件、样式和性能一次讲透——既能照着抄出常用界面,也懂得怎么在工具面板卡顿时去优化。Slate 的学习曲线在入门,一旦摸清「声明式 + 槽位 + 属性」的三段式套路,后面就是熟练度问题。

本章导读

扩展阅读

  • 入门:「Slate 概述」(https://www.wanxiangyundang.top/read/unreal-engine-5-8-docs/slate-overview-for-unreal-engi-915b)、「Slate 架构」(https://www.wanxiangyundang.top/read/unreal-engine-5-8-docs/understanding-the-slate-ui-arc-ac4c)、「Slate UI 框架」(https://www.wanxiangyundang.top/read/unreal-engine-5-8-docs/slate-user-interface-programmi-2fb7)
  • 实例:「Slate 控件示例」(https://www.wanxiangyundang.top/read/unreal-engine-5-8-docs/slate-ui-widget-examples-for-u-43ef)、「在项目中使用 Slate」(https://www.wanxiangyundang.top/read/unreal-engine-5-8-docs/using-slate-in-a-project-in-un-c0f9)、「在游戏中使用 Slate」(https://www.wanxiangyundang.top/read/unreal-engine-5-8-docs/using-slate-in-game-in-unreal-c121)
  • 调优:「Slate Insights」(https://www.wanxiangyundang.top/read/unreal-engine-5-8-docs/slate-insights-in-unreal-engin-e81c)、「UI 无效化」(https://www.wanxiangyundang.top/read/unreal-engine-5-8-docs/invalidation-in-slate-and-umg-52e5)、「Slate 裁剪系统」(https://www.wanxiangyundang.top/read/unreal-engine-5-8-docs/using-the-slate-clipping-syste-9b11)