Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
UCameraMotionBlender::FVectorChannel 구조체 참조
UCameraMotionBlender::FVectorChannel에 대한 협력 다이어그램:
Collaboration graph

Public 멤버 함수

 FVectorChannel ()=default
 
 FVectorChannel (FVector From, FVector Current, float Duration)
 
void Begin (float InDuration)
 
FVector Advance (const FVector &Target, float DeltaTime)
 

Public 속성

FVector From = FVector::ZeroVector
 
FVector Current = FVector::ZeroVector
 
float Elapsed = 0.0f
 
float Duration = 0.0f
 

생성자 & 소멸자 문서화

◆ FVectorChannel() [1/2]

UCameraMotionBlender::FVectorChannel::FVectorChannel ( )
default

◆ FVectorChannel() [2/2]

UCameraMotionBlender::FVectorChannel::FVectorChannel ( FVector  From,
FVector  Current,
float  Duration 
)
inline
FVector From
Definition CameraMotionBlender.h:36
FVector Current
Definition CameraMotionBlender.h:37
float Duration
Definition CameraMotionBlender.h:39

멤버 함수 문서화

◆ Advance()

FVector UCameraMotionBlender::FVectorChannel::Advance ( const FVector &  Target,
float  DeltaTime 
)
15{
16 if (Elapsed < Duration)
17 {
18 Elapsed = FMath::Min(Elapsed + DeltaTime, Duration);
19 Current = FMath::Lerp(From, Target, Elapsed / Duration);
20 }
21 else
22 {
23 Current = Target;
24 }
25 return Current;
26}
float Elapsed
Definition CameraMotionBlender.h:38
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ Begin()

void UCameraMotionBlender::FVectorChannel::Begin ( float  InDuration)
8{
10 Elapsed = 0.0f;
11 Duration = InDuration;
12}
이 함수를 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ Current

FVector UCameraMotionBlender::FVectorChannel::Current = FVector::ZeroVector

◆ Duration

float UCameraMotionBlender::FVectorChannel::Duration = 0.0f

◆ Elapsed

float UCameraMotionBlender::FVectorChannel::Elapsed = 0.0f

◆ From

FVector UCameraMotionBlender::FVectorChannel::From = FVector::ZeroVector

이 구조체에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: