Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
UCK_AnimInstance 클래스 참조

#include <CK_AnimInstance.h>

UCK_AnimInstance에 대한 상속 다이어그램 :
Inheritance graph
UCK_AnimInstance에 대한 협력 다이어그램:
Collaboration graph

Public 멤버 함수

 UCK_AnimInstance ()
 

Protected 멤버 함수

virtual void NativeInitializeAnimation () override
 
virtual void NativeUpdateAnimation (float DeltaSeconds) override
 

Protected 속성

TObjectPtr< ACharacter > Owner
 
TObjectPtr< UCharacterMovementComponent > Movement
 
FVector Velocity
 
float GroundSpeed
 
uint8 bIsIdle: 1
 
float MovingValue
 

생성자 & 소멸자 문서화

◆ UCK_AnimInstance()

UCK_AnimInstance::UCK_AnimInstance ( )
7{
8 MovingValue = 3.0f;
9}
float MovingValue
Definition CK_AnimInstance.h:44

멤버 함수 문서화

◆ NativeInitializeAnimation()

void UCK_AnimInstance::NativeInitializeAnimation ( )
overrideprotectedvirtual
12{
13 Super::NativeInitializeAnimation();
14
15 Owner = Cast<ACharacter>(GetOwningActor());
16 if (Owner)
17 {
18 Movement = Owner->GetCharacterMovement();
19 }
20}
TObjectPtr< ACharacter > Owner
Definition CK_AnimInstance.h:28
TObjectPtr< UCharacterMovementComponent > Movement
Definition CK_AnimInstance.h:31

◆ NativeUpdateAnimation()

void UCK_AnimInstance::NativeUpdateAnimation ( float  DeltaSeconds)
overrideprotectedvirtual
23{
24 Super::NativeUpdateAnimation(DeltaSeconds);
25
26 if (Movement)
27 {
28 Velocity = Movement->Velocity;
29
30 GroundSpeed = Velocity.Size2D();
31
33 }
34}
FVector Velocity
Definition CK_AnimInstance.h:35
uint8 bIsIdle
Definition CK_AnimInstance.h:41
float GroundSpeed
Definition CK_AnimInstance.h:38

멤버 데이터 문서화

◆ bIsIdle

uint8 UCK_AnimInstance::bIsIdle
protected

◆ GroundSpeed

float UCK_AnimInstance::GroundSpeed
protected

◆ Movement

TObjectPtr<UCharacterMovementComponent> UCK_AnimInstance::Movement
protected

◆ MovingValue

float UCK_AnimInstance::MovingValue
protected

◆ Owner

TObjectPtr<ACharacter> UCK_AnimInstance::Owner
protected

◆ Velocity

FVector UCK_AnimInstance::Velocity
protected

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