- 博客(2)
- 收藏
- 关注
原创 UE4 NearlyEqual
NearlyEqual 引言 判断俩个值是否相邻 Image Code /** * Checks if two floating point numbers are nearly equal. * @param A First number to compare * @param B Second number to compare * @param ErrorTolerance Maximum allowed difference for considering the.
2021-06-23 17:18:38
508
原创 UE4 FinterpTo
FinterpTo 引言 在使用到平滑过渡的时候一般需要使用FInterpTo和Tick函数在完成一个持续性的变化 Image Code CORE_API float FMath::FInterpTo( float Current, float Target, float DeltaTime, float InterpSpeed ) { // If no interp speed, jump to target value if( InterpSpeed <= 0.f ) { ret.
2021-06-23 17:04:07
2816
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人