#include <CameraZoomComponent.h>
◆ UCameraZoomComponent()
| UCameraZoomComponent::UCameraZoomComponent |
( |
| ) |
|
11{
12 PrimaryComponentTick.bCanEverTick = false;
13 PrimaryComponentTick.bStartWithTickEnabled = false;
14}
◆ AdjustDistance()
| FORCEINLINE void UCameraZoomComponent::AdjustDistance |
( |
float |
WheelDelta | ) |
|
|
inline |
28 {
30 }
float TargetDistance
Definition CameraZoomComponent.h:94
float ZoomSpeed
Definition CameraZoomComponent.h:76
FORCEINLINE float GetZoomMax() const
Definition CameraZoomComponent.h:48
FORCEINLINE float GetZoomMin() const
Definition CameraZoomComponent.h:55
◆ BeginPlay()
| void UCameraZoomComponent::BeginPlay |
( |
| ) |
|
|
overridevirtual |
◆ GetCurrentDistance()
| FORCEINLINE float UCameraZoomComponent::GetCurrentDistance |
( |
| ) |
const |
|
inline |
◆ GetTargetDistance()
| FORCEINLINE float UCameraZoomComponent::GetTargetDistance |
( |
| ) |
const |
|
inline |
◆ GetZoomMax()
| FORCEINLINE float UCameraZoomComponent::GetZoomMax |
( |
| ) |
const |
|
inline |
49 {
50 return Cast<AGameCameraManager>(GetOwner())->BaseDistance *
ZoomMaxRatio;
51 }
float ZoomMaxRatio
Definition CameraZoomComponent.h:86
다음에 의해서 참조됨 : BeginPlay().
◆ GetZoomMin()
| FORCEINLINE float UCameraZoomComponent::GetZoomMin |
( |
| ) |
const |
|
inline |
56 {
57 return Cast<AGameCameraManager>(GetOwner())->BaseDistance *
ZoomMinRatio;
58 }
float ZoomMinRatio
Definition CameraZoomComponent.h:90
◆ SetTargetDistance()
| FORCEINLINE void UCameraZoomComponent::SetTargetDistance |
( |
float |
NewTargetDistance | ) |
|
|
inline |
◆ SetTargetDistanceToMax()
| FORCEINLINE void UCameraZoomComponent::SetTargetDistanceToMax |
( |
| ) |
|
|
inline |
◆ UpdateCameraBehavior()
| void UCameraZoomComponent::UpdateCameraBehavior |
( |
AGameCameraManager * |
CameraManager, |
|
|
float |
DeltaTime |
|
) |
| |
|
overridevirtual |
◆ CurrentDistance
| float UCameraZoomComponent::CurrentDistance = 0.0f |
|
private |
◆ TargetDistance
| float UCameraZoomComponent::TargetDistance = 0.0f |
|
private |
◆ ZoomAcceleration
| float UCameraZoomComponent::ZoomAcceleration = 5.0f |
|
protected |
◆ ZoomDeceleration
| float UCameraZoomComponent::ZoomDeceleration = 5.0f |
|
protected |
◆ ZoomMaxRatio
| float UCameraZoomComponent::ZoomMaxRatio = 1.0f |
|
protected |
BaseDistance 대비 최대 줌 아웃 비율 (1.0 = BaseDistance와 동일)
◆ ZoomMinRatio
| float UCameraZoomComponent::ZoomMinRatio = 0.3f |
|
protected |
BaseDistance 대비 최대 줌 인 비율 (0.1 = BaseDistance의 10%)
◆ ZoomSpeed
| float UCameraZoomComponent::ZoomSpeed = 30.0f |
|
protected |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: