Navigation
API > API/Runtime > API/Runtime/CoreUObject
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * GetValid
(
T* Test |
Returns a pointer to a valid object if the Test object passes IsValid() tests, otherwise null | UObject/Object.h | |
const T * GetValid
(
const T* Test |
Returns a pointer to a valid object if the Test object passes IsValid() tests, otherwise null | UObject/Object.h | |
T * GetValid
(
const TObjectPtr< T >& Test |
Returns a pointer to a valid object if the Test object passes IsValid() tests, otherwise null | UObject/ObjectPtr.h |
GetValid(T *)
Description
Returns a pointer to a valid object if the Test object passes IsValid() tests, otherwise null
| Name | GetValid |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
| Include Path | #include "UObject/Object.h" |
template<typename T>
T * GetValid
(
T * Test
)
Pointer to a valid object if the Test object passes IsValid() tests, otherwise null
Parameters
| Name | Remarks |
|---|---|
| Test | The object to test |
GetValid(const T *)
Description
Returns a pointer to a valid object if the Test object passes IsValid() tests, otherwise null
| Name | GetValid |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
| Include Path | #include "UObject/Object.h" |
template<typename T>
const T * GetValid
(
const T * Test
)
Pointer to a valid object if the Test object passes IsValid() tests, otherwise null
Parameters
| Name | Remarks |
|---|---|
| Test | The object to test |
GetValid(const TObjectPtr< T > &)
Description
Returns a pointer to a valid object if the Test object passes IsValid() tests, otherwise null
| Name | GetValid |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectPtr.h |
| Include Path | #include "UObject/ObjectPtr.h" |
template<typename T>
T * GetValid
(
const TObjectPtr < T > & Test
)