Navigation
Unreal Engine C++ API Reference > Developer > FunctionalTesting > AFunctionalTest
References
Module | FunctionalTesting |
Header | /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h |
Include | #include "FunctionalTest.h" |
Source | /Engine/Source/Developer/FunctionalTesting/Private/FunctionalTest.cpp |
UFUNCTION (BlueprintCallable, Category="Asserts", DisplayName="Assert Equal (Transform)",
Meta=(HidePin="ContextObject", DefaultToSelf="ContextObject"))
virtual bool AssertEqual_Transform
(
const FTransform & Actual,
const FTransform & Expected,
const FString & What,
float Tolerance,
const UObject * ContextObject
)
Remarks
Assert that two transforms are (components memberwise - translation, rotation, scale) equal within a small tolerance.
Parameters
Name | Description |
---|---|
What | A name to use in the message if the assert fails ("Expected 'What' to be {Expected} but it was {Actual} for context ''") |