::protected/언리얼4&5
InterpTo
해맑은욱
2019. 11. 20. 15:53
InterpTo
;지정한 속력으로 목표 지점까지 진행, 도달하면 멈추는 기능.
float > FInterpTo
Vector > VInterpTo
Rotator > RInterpTo
/** Interpolate float from Current to Target. Scaled by distance to Target, so it has a strong start speed and ease out. */ static CORE_API float FInterpTo( float Current, float Target, float DeltaTime, float InterpSpeed ); /** Interpolate vector from Current to Target. Scaled by distance to Target, so it has a strong start speed and ease out. */ static CORE_API FVector VInterpTo( const FVector& Current, const FVector& Target, float DeltaTime, float InterpSpeed ); /** Interpolate rotator from Current to Target. Scaled by distance to Target, so it has a strong start speed and ease out. */ static CORE_API FRotator RInterpTo( const FRotator& Current, const FRotator& Target, float DeltaTime, float InterpSpeed); | cs |
https://www.unrealengine.com/ko/blog/the-subtle-magic-of-interpto