Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/UAnimInstance
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimInstance.h |
| Include | #include "Animation/AnimInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimInstance.cpp |
bool GetCurveValueWithDefault
&40;
FName CurveName,
float DefaultValue,
float & OutValue
&41;
Remarks
Returns whether a named curve was found, its value, and a default value when it's not found.
Parameters
| Name | Description |
|---|---|
| AnimInstance | The anim instance to find this curve value for. |
| CurveName | The name of the curve. |
| DefaultValue | Value to use when the curve is not found. |
| OutValue | The curve's value. |