engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 友元 | 所有成员列表
FCurveTableRowHandle结构体 参考

Handle to a particular row in a table. 更多...

#include <CurveTable.h>

Public 成员函数

float Eval (float XValue, const FString &ContextString) const
 Evaluate the curve if it is valid 更多...
 
bool Eval (float XValue, float *YValue, const FString &ContextString) const
 Evaluate the curve if it is valid 更多...
 
FRealCurve * GetCurve (const FString &ContextString, bool bWarnIfNotFound=true) const
 Get the curve straight from the row handle
 
FRichCurve * GetRichCurve (const FString &ContextString, bool bWarnIfNotFound=true) const
 Get the rich curve straight from the row handle
 
FSimpleCurve * GetSimpleCurve (const FString &ContextString, bool bWarnIfNotFound=true) const
 Get the simple curve straight from the row handle
 
bool IsNull () const
 Returns true if this handle is specifically pointing to nothing
 
bool IsValid (const FString &ContextString) const
 Returns true if the curve is valid
 

Public 属性

const class UCurveTable * CurveTable
 Pointer to table we want a row from
 
FName RowName
 Name of row in the table that we want
 

友元

FORCEINLINE friend uint32 GetTypeHash (const FCurveTableRowHandle &Handle)
 Used so we can have a TMap of this struct
 

详细描述

Handle to a particular row in a table.

成员函数说明

◆ Eval() [1/2]

float FCurveTableRowHandle::Eval ( float  XValue,
const FString &  ContextString 
) const
inline

Evaluate the curve if it is valid

参数
XValueThe input X value to the curve
ContextStringA string to provide context for where this operation is being carried out
返回
The value of the curve if valid, 0 if not

◆ Eval() [2/2]

bool FCurveTableRowHandle::Eval ( float  XValue,
float *  YValue,
const FString &  ContextString 
) const

Evaluate the curve if it is valid

参数
XValueThe input X value to the curve
YValueThe output Y value from the curve
ContextStringA string to provide context for where this operation is being carried out
返回
True if it filled out YValue with a valid number, false otherwise

该结构体的文档由以下文件生成: