2025年3月15日

当你将一个 `Image` 放入 `Button` 作为子控件时,如果 `Image` 无法完全覆盖整个按钮

摘要: 在 Unreal Engine 的 UMG 中,当你将一个 `Image` 放入 `Button` 作为子控件时,如果 `Image` 无法完全覆盖整个按钮(例如水平方向两边有空隙),通常是由于以下原因之一:`Image` 的大小设置、布局对齐方式或 `Button` 的默认填充(Padding)导 阅读全文

posted @ 2025-03-15 20:37 zxddesk 阅读(146) 评论(0) 推荐(0)

UE5 在蓝图中使用引用

摘要: 在应用参数前添加 UPARAM(ref) UFUNCTION(BlueprintCallable, Category = "Pool call") void GetOutputSlotInfo(int index, UPARAM(ref) TArray<FFrameSlotOut>& OutSlot 阅读全文

posted @ 2025-03-15 12:34 zxddesk 阅读(86) 评论(0) 推荐(0)

导航