![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ProgressCancel.h>
Public Member Functions | |
| FGeometryResult () | |
| FGeometryResult (EGeometryResultType ResultType) | |
| void | UpdateResultType (EGeometryResultType NewType) |
| void | SetFailed () |
| void | SetCancelled () |
| void | SetSuccess () |
| void | SetSuccess (bool bSuccess, FProgressCancel *Progress=nullptr) |
| void | SetFailed (FText ErrorMessage, int ResultCode=0) |
| bool | CheckAndSetCancelled (FProgressCancel *Progress) |
| void | AddError (FGeometryError Error) |
| void | AddWarning (FGeometryWarning Warning) |
| bool | HasFailed () const |
| bool | HasResult () const |
Static Public Member Functions | |
| static FGeometryResult | Failed () |
| static FGeometryResult | Cancelled () |
Public Attributes | |
| EGeometryResultType | Result |
| TArray< FGeometryError > | Errors |
| TArray< FGeometryWarning > | Warnings |
FGeometryResult represents a combined "success/failure/etc" state for a geometry operation along with a set of Error and Warning codes/messages.
|
inline |
|
inline |
|
inline |
Append an Error to the result
|
inline |
Append a Warning to the result
|
inlinestatic |
|
inline |
Test if the given Progress has been cancelled, if so, set the Result to Cancelled
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
Set state of the Result to Failure, and append a FGeometryError with the given ErrorMessage and ResultCode
|
inline |
|
inline |
Set to Success/Failure based on bSuccess, or Cancelled if the (optional) FProgressCancel indicates that it was Cancelled
|
inline |
| TArray<FGeometryError> UE::Geometry::FGeometryResult::Errors |
| EGeometryResultType UE::Geometry::FGeometryResult::Result |
| TArray<FGeometryWarning> UE::Geometry::FGeometryResult::Warnings |