![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CurveTable.h>
Public Member Functions | |
| FCurveTableRowHandle () | |
| bool | IsValid (const FString &ContextString) const |
| bool | IsNull () const |
| ENGINE_API FRealCurve * | GetCurve (const FString &ContextString, bool bWarnIfNotFound=true) const |
| ENGINE_API FRichCurve * | GetRichCurve (const FString &ContextString, bool bWarnIfNotFound=true) const |
| ENGINE_API FSimpleCurve * | GetSimpleCurve (const FString &ContextString, bool bWarnIfNotFound=true) const |
| float | Eval (float XValue, const FString &ContextString) const |
| ENGINE_API bool | Eval (float XValue, float *YValue, const FString &ContextString) const |
| ENGINE_API bool | operator== (const FCurveTableRowHandle &Other) const |
| ENGINE_API bool | operator!= (const FCurveTableRowHandle &Other) const |
| ENGINE_API void | PostSerialize (const FArchive &Ar) |
Public Attributes | |
| TObjectPtr< const class UCurveTable > | CurveTable |
| FName | RowName |
Friends | |
| uint32 | GetTypeHash (const FCurveTableRowHandle &Handle) |
Handle to a particular row in a table.
|
inline |
Evaluate the curve if it is valid
| XValue | The input X value to the curve |
| ContextString | A string to provide context for where this operation is being carried out |
| bool FCurveTableRowHandle::Eval | ( | float | XValue, |
| float * | YValue, | ||
| const FString & | ContextString | ||
| ) | const |
Evaluate the curve if it is valid
| XValue | The input X value to the curve |
| YValue | The output Y value from the curve |
| ContextString | A string to provide context for where this operation is being carried out |
| FRealCurve * FCurveTableRowHandle::GetCurve | ( | const FString & | ContextString, |
| bool | bWarnIfNotFound = true |
||
| ) | const |
Get the curve straight from the row handle
| FRichCurve * FCurveTableRowHandle::GetRichCurve | ( | const FString & | ContextString, |
| bool | bWarnIfNotFound = true |
||
| ) | const |
Get the rich curve straight from the row handle
| FSimpleCurve * FCurveTableRowHandle::GetSimpleCurve | ( | const FString & | ContextString, |
| bool | bWarnIfNotFound = true |
||
| ) | const |
Get the simple curve straight from the row handle
|
inline |
Returns true if this handle is specifically pointing to nothing
|
inline |
Returns true if the curve is valid
| bool FCurveTableRowHandle::operator!= | ( | const FCurveTableRowHandle & | Other | ) | const |
| bool FCurveTableRowHandle::operator== | ( | const FCurveTableRowHandle & | Other | ) | const |
|
friend |
Used so we can have a TMap of this struct
| TObjectPtr<const class UCurveTable> FCurveTableRowHandle::CurveTable |
Pointer to table we want a row from
| FName FCurveTableRowHandle::RowName |
Name of row in the table that we want