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

#include <LPP_ByTransform.h>

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

Public 멤버 함수

virtual void PlacePlayer (ULevel *InLevel, const FPrimaryAssetId &LevelAssetID) override
 

Public 속성

FVector SpawnLocation = FVector::ZeroVector
 
FRotator SpawnRotation = FRotator::ZeroRotator
 

추가로 상속된 멤버들

- ULevelPlayerPlacer(으)로부터 상속된 Protected 멤버 함수
void PlacePlayerAtTransform (UWorld *InWorld, const FPrimaryAssetId &LevelAssetID, const FTransform &SpawnTransform)
 
APawn * EnsurePlayerPawn (UWorld *InWorld, const FPrimaryAssetId &LevelAssetID, const FTransform &SpawnTransform, bool &bOutSpawned)
 
bool CanPlacePlayerAtTransform (UWorld *InWorld, const FTransform &SpawnTransform) const
 
void SchedulePlacementRetry (UWorld *InWorld, const FPrimaryAssetId &LevelAssetID, const FTransform &SpawnTransform)
 
- ULevelPlayerPlacer(으)로부터 상속된 Protected 속성
float PlacementTraceStartOffsetZ = 0.0f
 
float PlacementTraceEndOffsetZ = 150.0f
 
float PlacementRetryInterval = 0.1f
 

상세한 설명

지정된 위치(Location)와 회전(Rotation)으로 플레이어를 배치합니다. SpawnLocation / SpawnRotation 을 설정한 뒤 PlacePlayer()를 호출하세요.

멤버 함수 문서화

◆ PlacePlayer()

void ULPP_ByTransform::PlacePlayer ( ULevel *  InLevel,
const FPrimaryAssetId &  LevelAssetID 
)
overridevirtual
8{
9 if (InLevel == nullptr)
10 {
11 return;
12 }
13
14 const FTransform SpawnTransform(SpawnRotation, SpawnLocation);
15 PlacePlayerAtTransform(InLevel->GetWorld(), LevelAssetID, SpawnTransform);
16}
FRotator SpawnRotation
Definition LPP_ByTransform.h:26
FVector SpawnLocation
Definition LPP_ByTransform.h:23
void PlacePlayerAtTransform(UWorld *InWorld, const FPrimaryAssetId &LevelAssetID, const FTransform &SpawnTransform)
Definition LevelPlayerPlacer.cpp:17
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ SpawnLocation

FVector ULPP_ByTransform::SpawnLocation = FVector::ZeroVector

◆ SpawnRotation

FRotator ULPP_ByTransform::SpawnRotation = FRotator::ZeroRotator

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