DreamGUI
类参考

UDreamUIBPLibrary

UDreamUIBPLibrary

继承自 UBlueprintFunctionLibrary。

声明于 Public/DreamUIBPLibrary.h。

Dream UIBPLibrary

函数

函数类型描述
UDreamWidget* AddWidgetOfClassToScreen(UObject* WorldContextObject, TSubclassOf<UDreamUserWidget> InWidgetClass, FDreamUIWidgetCreatedCallback InCallbackBeforeAlive, int32 SortOrder)callable在共享屏幕根节点下加载预制体,并将其作为视口页面进行跟踪。返回引脚跟随 InWidgetClass。
UDreamWidget* AddWidgetOfClassToViewport(UObject* WorldContextObject, TSubclassOf<UDreamUserWidget> InWidgetClass, int32 SortOrder)callable面向 DreamUI 预制体的 UMG 风格 CreateWidget + AddToViewport 便捷节点。返回引脚跟随 InWidgetClass。
bool AttachWidgetToSceneComponent(UDreamWidget* InRoot, USceneComponent* InSceneComponent)callable将通过 ConstructWidget 创建的根控件放入世界:这是 AddToViewport 在世界空间 UI 中的对应物,也是预制体呈现器对其加载的树所做的操作。根控件必须携带一个 DreamCanvas(画布决定渲染模式并拥有网格体);它会被附加到 InSceneComponent,由后者为其提供世界变换,并脱离尚未添加的状态。当 InRoot 已有父级或没有画布时,返回 false,且不做任何更改。
UDreamUserWidget* BeginDeferredCreateDreamWidget(UObject* WorldContextObject, TSubclassOf<UDreamUserWidget> WidgetType, APlayerController* OwningPlayer)callableCreate Dream Widget 节点编译后产生的两个调用,其间夹着其 Expose on Spawn 赋值——该节点是它们的外在表现,正如 UMG 的 Create Widget 是 UWidgetBlueprintLibrary::Create 的外在表现。有关赋值为何位于中间,请参见 BeginCreateDreamWidget。
UDreamWidget* ConstructWidget(UObject* WorldContextObject, FString DisplayName, TSubclassOf<UDreamVisual> VisualClass)callable创建一个存在但不在屏幕上的控件——这是 UMG 的 WidgetTree::ConstructWidget() 的对应物。在你将其交给 AddChild 或 AddToViewport 之前,它不会绘制任何内容,其行为也不会运行;在此之前,它由 DreamUI 管理器持有,因此在你配置它的过程中不会被回收。
UDreamWidget* CreateDreamWidgetOfClass(UObject* WorldContextObject, TSubclassOf<UDreamUserWidget> InWidgetClass)callable实例化一个预制体而不将其放置到任何地方——这是 UMG 的 CreateWidget(WidgetBlueprintClass) 的对应物。与 ConstructWidget 相同的未上屏状态,包括根节点自带 UDreamCanvas 的预制体,否则它一存在就会开始渲染。
void DreamGUIExecuteControllerInputAction(FKey inputKey, bool pressOrRelease)callableDream GUI 执行控制器输入操作
AActor* DreamUICompRef_GetActor(FDreamUIComponentReference InDreamUIComponentReference)pure获取 Actor
UActorComponent* DreamUICompRef_GetComponent(FDreamUIComponentReference InDreamUIComponentReference, TSubclassOf<UActorComponent> InComponentType)pureInComponentType 必须与 InDreamUIComponentReference 的组件类型相同
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Asset_Register(FDreamUIEventDelegate_Asset InEvent, FDreamUIEventDelegate_Asset_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Asset_Unregister(FDreamUIEventDelegate_Asset InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Bool_Execute(FDreamUIEventDelegate_Bool InEvent, bool InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Bool_Register(FDreamUIEventDelegate_Bool InEvent, FDreamUIEventDelegate_Bool_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Bool_Unregister(FDreamUIEventDelegate_Bool InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Class_Execute(FDreamUIEventDelegate_Class InEvent, UClass* InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Class_Register(FDreamUIEventDelegate_Class InEvent, FDreamUIEventDelegate_Class_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Class_Unregister(FDreamUIEventDelegate_Class InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Color_Execute(FDreamUIEventDelegate_Color InEvent, FColor InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Color_Register(FDreamUIEventDelegate_Color InEvent, FDreamUIEventDelegate_Color_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Color_Unregister(FDreamUIEventDelegate_Color InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Double_Execute(FDreamUIEventDelegate_Double InEvent, double InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Double_Register(FDreamUIEventDelegate_Double InEvent, FDreamUIEventDelegate_Double_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Double_Unregister(FDreamUIEventDelegate_Double InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_DreamWidget_Execute(FDreamUIEventDelegate_DreamWidget InEvent, UDreamWidget* InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_DreamWidget_Register(FDreamUIEventDelegate_DreamWidget InEvent, FDreamUIEventDelegate_DreamWidget_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_DreamWidget_Unregister(FDreamUIEventDelegate_DreamWidget InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Empty_Execute(FDreamUIEventDelegate_Empty InEvent)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Empty_Register(FDreamUIEventDelegate_Empty InEvent, FDreamUIEventDelegate_Empty_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Empty_Unregister(FDreamUIEventDelegate_Empty InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Float_Execute(FDreamUIEventDelegate_Float InEvent, float InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Float_Register(FDreamUIEventDelegate_Float InEvent, FDreamUIEventDelegate_Float_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Float_Unregister(FDreamUIEventDelegate_Float InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Int32_Execute(FDreamUIEventDelegate_Int32 InEvent, int32 InParameter)callableUFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Execute")) static void DreamUIEventDelegate_UInt16_Execute(const FDreamUIEventDelegate_UInt16& InEvent, uint16 InParameter) { InEvent(InParameter); } UFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Register")) static FDreamGUIDelegateHandleWrapper DreamUIEventDelegate_UInt16_Register(const FDreamUIEventDelegate_UInt16& InEvent, FDreamUIEventDelegate_UInt16_DynamicDelegate InDelegate); UFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Unregister")) static void DreamUIEventDelegate_UInt16_Unregister(const FDreamUIEventDelegate_UInt16& InEvent, const FDreamGUIDelegateHandleWrapper& InDelegateHandle);
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Int32_Register(FDreamUIEventDelegate_Int32 InEvent, FDreamUIEventDelegate_Int32_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Int32_Unregister(FDreamUIEventDelegate_Int32 InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Int64_Execute(FDreamUIEventDelegate_Int64 InEvent, int64 InParameter)callableUFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Execute")) static void DreamUIEventDelegate_UInt32_Execute(const FDreamUIEventDelegate_UInt32& InEvent, uint32 InParameter) { InEvent(InParameter); } UFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Register")) static FDreamGUIDelegateHandleWrapper DreamUIEventDelegate_UInt32_Register(const FDreamUIEventDelegate_UInt32& InEvent, FDreamUIEventDelegate_UInt32_DynamicDelegate InDelegate); UFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Unregister")) static void DreamUIEventDelegate_UInt32_Unregister(const FDreamUIEventDelegate_UInt32& InEvent, const FDreamGUIDelegateHandleWrapper& InDelegateHandle);
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Int64_Register(FDreamUIEventDelegate_Int64 InEvent, FDreamUIEventDelegate_Int64_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Int64_Unregister(FDreamUIEventDelegate_Int64 InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_LinearColor_Execute(FDreamUIEventDelegate_LinearColor InEvent, FLinearColor InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_LinearColor_Register(FDreamUIEventDelegate_LinearColor InEvent, FDreamUIEventDelegate_LinearColor_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_LinearColor_Unregister(FDreamUIEventDelegate_LinearColor InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Name_Execute(FDreamUIEventDelegate_Name InEvent, FName InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Name_Register(FDreamUIEventDelegate_Name InEvent, FDreamUIEventDelegate_Name_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Name_Unregister(FDreamUIEventDelegate_Name InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Object_Execute(FDreamUIEventDelegate_Asset InEvent, UObject* InParameter)callable执行
void DreamUIEventDelegate_PointerEvent_Execute(FDreamUIEventDelegate_PointerEvent InEvent, UDreamPointerEventData* InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_PointerEvent_Register(FDreamUIEventDelegate_PointerEvent InEvent, FDreamUIEventDelegate_PointerEvent_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_PointerEvent_Unregister(FDreamUIEventDelegate_PointerEvent InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Quaternion_Execute(FDreamUIEventDelegate_Quaternion InEvent, FQuat InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Quaternion_Register(FDreamUIEventDelegate_Quaternion InEvent, FDreamUIEventDelegate_Quaternion_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Quaternion_Unregister(FDreamUIEventDelegate_Quaternion InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Rotator_Execute(FDreamUIEventDelegate_Rotator InEvent, FRotator InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Rotator_Register(FDreamUIEventDelegate_Rotator InEvent, FDreamUIEventDelegate_Rotator_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Rotator_Unregister(FDreamUIEventDelegate_Rotator InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_String_Execute(FDreamUIEventDelegate_String InEvent, FString InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_String_Register(FDreamUIEventDelegate_String InEvent, FDreamUIEventDelegate_String_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_String_Unregister(FDreamUIEventDelegate_String InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Text_Execute(FDreamUIEventDelegate_Text InEvent, FText InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Text_Register(FDreamUIEventDelegate_Text InEvent, FDreamUIEventDelegate_Text_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Text_Unregister(FDreamUIEventDelegate_Text InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_UInt8_Execute(FDreamUIEventDelegate_UInt8 InEvent, uint8 InParameter)callableUFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Execute")) static void DreamUIEventDelegate_Int8_Execute(const FDreamUIEventDelegate_Int8& InEvent, int8 InParameter) { InEvent(InParameter); } UFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Register")) static FDreamGUIDelegateHandleWrapper DreamUIEventDelegate_Int8_Register(const FDreamUIEventDelegate_Int8& InEvent, FDreamUIEventDelegate_Int8_DynamicDelegate InDelegate); UFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Unregister")) static void DreamUIEventDelegate_Int8_Unregister(const FDreamUIEventDelegate_Int8& InEvent, const FDreamGUIDelegateHandleWrapper& InDelegateHandle);
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_UInt8_Register(FDreamUIEventDelegate_UInt8 InEvent, FDreamUIEventDelegate_UInt8_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_UInt8_Unregister(FDreamUIEventDelegate_UInt8 InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Vector2_Execute(FDreamUIEventDelegate_Vector2 InEvent, FVector2D InParameter)callableUFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Execute")) static void DreamUIEventDelegate_UInt64_Execute(const FDreamUIEventDelegate_UInt64& InEvent, uint64 InParameter) { InEvent(InParameter); } UFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Register")) static FDreamGUIDelegateHandleWrapper DreamUIEventDelegate_UInt64_Register(const FDreamUIEventDelegate_UInt64& InEvent, FDreamUIEventDelegate_UInt64_DynamicDelegate InDelegate); UFUNCTION(BlueprintCallable, Category = DreamGUI, meta = (DisplayName = "Unregister")) static void DreamUIEventDelegate_UInt64_Unregister(const FDreamUIEventDelegate_UInt64& InEvent, const FDreamGUIDelegateHandleWrapper& InDelegateHandle);
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Vector2_Register(FDreamUIEventDelegate_Vector2 InEvent, FDreamUIEventDelegate_Vector2_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Vector2_Unregister(FDreamUIEventDelegate_Vector2 InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Vector3_Execute(FDreamUIEventDelegate_Vector3 InEvent, FVector InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Vector3_Register(FDreamUIEventDelegate_Vector3 InEvent, FDreamUIEventDelegate_Vector3_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Vector3_Unregister(FDreamUIEventDelegate_Vector3 InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegate_Vector4_Execute(FDreamUIEventDelegate_Vector4 InEvent, FVector4 InParameter)callable执行
FDreamUIDelegateHandleWrapper DreamUIEventDelegate_Vector4_Register(FDreamUIEventDelegate_Vector4 InEvent, FDreamUIEventDelegate_Vector4_DynamicDelegate InDelegate)callable注册
void DreamUIEventDelegate_Vector4_Unregister(FDreamUIEventDelegate_Vector4 InEvent, FDreamUIDelegateHandleWrapper InDelegateHandle)callable注销
void DreamUIEventDelegateExecuteActor(FDreamUIEventDelegate InEvent, AActor* InParameter)callableDream UIEvent Delegate Execute Actor
void DreamUIEventDelegateExecuteBool(FDreamUIEventDelegate InEvent, bool InParameter)callableDream UIEvent Delegate Execute Bool
void DreamUIEventDelegateExecuteClass(FDreamUIEventDelegate InEvent, UClass* InParameter)callableDream UIEvent Delegate Execute Class
void DreamUIEventDelegateExecuteColor(FDreamUIEventDelegate InEvent, FColor InParameter)callableDream UIEvent Delegate Execute Color
void DreamUIEventDelegateExecuteEmpty(FDreamUIEventDelegate InEvent)callableDream UIEvent Delegate Execute Empty
void DreamUIEventDelegateExecuteFloat(FDreamUIEventDelegate InEvent, float InParameter)callableDream UIEvent Delegate Execute Float
void DreamUIEventDelegateExecuteInt32(FDreamUIEventDelegate InEvent, int32 InParameter)callableUFUNCTION(BlueprintCallable, Category = DreamGUI)static void DreamGUIEventDelegateExecuteInt16(const FDreamGUIEventDelegate& InEvent, const int16& InParameter) { InEvent.FireEvent(InParameter); } UFUNCTION(BlueprintCallable, Category = DreamGUI)static void DreamGUIEventDelegateExecuteUInt16(const FDreamGUIEventDelegate& InEvent, const uint16& InParameter) { InEvent.FireEvent(InParameter); }
void DreamUIEventDelegateExecuteLinearColor(FDreamUIEventDelegate InEvent, FLinearColor InParameter)callableDream UIEvent Delegate Execute Linear Color
void DreamUIEventDelegateExecuteName(FDreamUIEventDelegate InEvent, FName InParameter)callableDream UIEvent Delegate Execute Name
void DreamUIEventDelegateExecuteObject(FDreamUIEventDelegate InEvent, UObject* InParameter)callableDream UIEvent Delegate Execute Object
void DreamUIEventDelegateExecutePointerEvent(FDreamUIEventDelegate InEvent, UDreamPointerEventData* InParameter)callableDream UIEvent Delegate Execute Pointer Event
void DreamUIEventDelegateExecuteQuaternion(FDreamUIEventDelegate InEvent, FQuat InParameter)callableDream UIEvent Delegate Execute Quaternion
void DreamUIEventDelegateExecuteRotator(FDreamUIEventDelegate InEvent, FRotator InParameter)callableDream UIEvent Delegate Execute Rotator
void DreamUIEventDelegateExecuteString(FDreamUIEventDelegate InEvent, FString InParameter)callableDream UIEvent Delegate Execute String
void DreamUIEventDelegateExecuteText(FDreamUIEventDelegate InEvent, FText InParameter)callableDream UIEvent Delegate Execute Text
void DreamUIEventDelegateExecuteUInt8(FDreamUIEventDelegate InEvent, uint8 InParameter)callableUFUNCTION(BlueprintCallable, Category = DreamGUI)static void DreamGUIEventDelegateExecuteDouble(const FDreamGUIEventDelegate& InEvent, const double& InParameter) { InEvent.FireEvent(InParameter); } UFUNCTION(BlueprintCallable, Category = DreamGUI)static void DreamGUIEventDelegateExecuteInt8(const FDreamGUIEventDelegate& InEvent, const int8& InParameter) { InEvent.FireEvent(InParameter); }
void DreamUIEventDelegateExecuteVector2(FDreamUIEventDelegate InEvent, FVector2D InParameter)callableUFUNCTION(BlueprintCallable, Category = DreamGUI)static void DreamGUIEventDelegateExecuteUInt32(const FDreamGUIEventDelegate& InEvent, const uint32& InParameter) { InEvent.FireEvent(InParameter); } UFUNCTION(BlueprintCallable, Category = DreamGUI)static void DreamGUIEventDelegateExecuteInt64(const FDreamGUIEventDelegate& InEvent, const int64& InParameter) { InEvent.FireEvent(InParameter); } UFUNCTION(BlueprintCallable, Category = DreamGUI)static void DreamGUIEventDelegateExecuteUInt64(const FDreamGUIEventDelegate& InEvent, const uint64& InParameter) { InEvent.FireEvent(InParameter); }
void DreamUIEventDelegateExecuteVector3(FDreamUIEventDelegate InEvent, FVector InParameter)callableDream UIEvent Delegate Execute Vector 3
void DreamUIEventDelegateExecuteVector4(FDreamUIEventDelegate InEvent, FVector4 InParameter)callableDream UIEvent Delegate Execute Vector 4
void DreamUIExecuteControllerInputAxis(FKey inputKey, float value)callableDream UIExecute Controller Input Axis
UDreamWidget* DuplicateWidget(UObject* WorldContextObject, UDreamWidget* Target, UDreamWidget* Parent)callable复制带层级结构的 Actor
UDreamWidget* DuplicateWidgetWithPreparedData(UObject* WorldContextObject, FDreamUIDuplicateDataContainer& Data, UDreamWidget* Parent)callable与 PrepareDuplicateData 节点配合使用。
UDreamUserWidget* FinishDeferredCreateDreamWidget(UDreamUserWidget* Widget)callableBeginDeferredCreateDreamWidget 的另一半,在 Expose on Spawn 赋值之后运行。
void ForceLayoutPrepass(UDreamWidget* InWidget)callable立即布局此控件的树,而不是等到下一轮 -- 即 UMG 的 ForceLayoutPrepass。
UActorComponent* GetComponentInChildren(AActor* InActor, TSubclassOf<UActorComponent> ComponentClass, bool IncludeSelf, TSet<AActor*> InExcludeNode)pure在子级中查找第一个指定类型的组件。@param InActor 起始的根 Actor。@param ComponentClass 需要搜索的组件类型。@param IncludeSelf 为 true 时也搜索 InActor 上的组件。@param InExcludeNode 如果任何子 Actor 包含在此 InExcludeNode 中,将跳过该子 Actor 及其所有子级。
UActorComponent* GetComponentInParent(AActor* InActor, TSubclassOf<UActorComponent> ComponentClass, bool IncludeSelf, AActor* InStopNode)pure在父级及向上的父级层级中查找第一个指定类型的组件。@param IncludeSelf 包含 Actor 自身。@param InStopNode 如果父级是 InStopNode 则中断搜索链。可为 null 以忽略。
TArray<UActorComponent*> GetComponentsInChildren(AActor* InActor, TSubclassOf<UActorComponent> ComponentClass, bool IncludeSelf, TSet<AActor*> InExcludeNode)pure在子级中查找所有指定类型的组件。@param InActor 起始的根 Actor。@param ComponentClass 需要搜索的组件类型。@param IncludeSelf 为 true 时也搜索 InActor 上的组件。@param InExcludeNode 如果任何子 Actor 包含在此 InExcludeNode 中,将跳过该子 Actor 及其所有子级。
UDreamWidget* GetOrCreateScreenSpaceUIRoot(UObject* WorldContextObject)callable返回世界共享的 ScreenSpaceOverlay 根节点,按需创建。
void GetSpriteBorderSize(FDreamUISpriteInfo SpriteInfo, int32& borderLeft, int32& borderRight, int32& borderTop, int32& borderBottom)pure获取 Sprite 边框尺寸
void GetSpriteBorderUV(FDreamUISpriteInfo SpriteInfo, float& borderUV0X, float& borderUV0Y, float& borderUV3X, float& borderUV3Y)pure获取 Sprite 边框 UV
void GetSpriteSize(FDreamUISpriteInfo SpriteInfo, int32& width, int32& height)pure获取 Sprite 尺寸
void GetSpriteUV(FDreamUISpriteInfo SpriteInfo, float& UV0X, float& UV0Y, float& UV3X, float& UV3Y)pure获取 Sprite UV
void InvalidateLayout(UDreamWidget* InWidget)callable将此控件标记为下一轮布局 -- 即 UMG 的 InvalidateLayoutAndVolatility。
bool IsInViewport(UObject* WorldContextObject, UDreamWidget* InRoot)pure是否在视口中
bool IsWidgetParked(UDreamWidget* InWidget)pure当控件已创建但尚未添加到任何对象时为 true。参见 ConstructWidget。
void K2_DreamUICompRef_GetComponent(FDreamUIComponentReference InDreamUICompRef, UActorComponent*& OutResult)pure获取
void PrepareDuplicateData(UDreamWidget* Target, FDreamUIDuplicateDataContainer& Data)callable当您需要多次复制同一 actor 时,DuplicateActor 节点的优化版本。在 DuplicateActorWithPreparedData 节点中使用结果数据。
void RemoveFromViewport(UObject* WorldContextObject, UDreamWidget* InRoot)callable销毁已跟踪的视口页面,并将其从屏幕注册表中移除。

本页目录