#include <ProjectileMovementLinear.h>
◆ Activate()
| void UProjectileMovementLinearInterp::Activate |
( |
const FVector & |
InStart, |
|
|
const FVector & |
InTarget |
|
) |
| |
|
overridevirtual |
◆ GetProjectileDuration()
| virtual float UProjectileMovementLinearInterp::GetProjectileDuration |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ SampleFlightPosition()
| bool UProjectileMovementLinearInterp::SampleFlightPosition |
( |
float |
Progress, |
|
|
FVector & |
OutPosition |
|
) |
| const |
|
overridevirtual |
발사 전 경로 검사에 사용합니다. 목표 지점까지의 궤적을 제공하지 않는 이동은 false를 반환합니다.
UProjectileMovementBase(으)로부터 재구현되었습니다.
77{
78 const float Alpha = FMath::Clamp(Progress, 0.0f, 1.0f);
81 return OutPosition.ContainsNaN() == false;
82}
TObjectPtr< UCurveFloat > PositionCurve
Definition ProjectileMovementLinear.h:47
다음을 참조함 : EndLocation, PositionCurve, StartLocation.
다음에 의해서 참조됨 : Simulate().
◆ Simulate()
| bool UProjectileMovementLinearInterp::Simulate |
( |
float |
InDeltaTime, |
|
|
AActor * |
InOwner |
|
) |
| |
|
overridevirtual |
◆ SynchronizeArrival()
◆ Duration
| float UProjectileMovementLinearInterp::Duration = 1.f |
◆ EndLocation
| FVector UProjectileMovementLinearInterp::EndLocation = FVector::ZeroVector |
|
private |
◆ FlightTimeSource
◆ PositionCurve
| TObjectPtr<UCurveFloat> UProjectileMovementLinearInterp::PositionCurve |
◆ SourceStartTime
| float UProjectileMovementLinearInterp::SourceStartTime = 0.0f |
|
private |
◆ StartLocation
| FVector UProjectileMovementLinearInterp::StartLocation = FVector::ZeroVector |
|
private |
◆ TotalTime
| float UProjectileMovementLinearInterp::TotalTime = 1.f |
|
private |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: