Navigation
API > API/Runtime > API/Runtime/GameplayDebugger > API/Runtime/GameplayDebugger/FGameplayDebuggerCategory
References
| Module | GameplayDebugger |
| Header | /Engine/Source/Runtime/GameplayDebugger/Public/GameplayDebuggerCategory.h |
| Include | #include "GameplayDebuggerCategory.h" |
| Source | /Engine/Source/Runtime/GameplayDebugger/Private/GameplayDebuggerCategory.cpp |
bool GetViewPoint
(
const APlayerController * OwnerPC,
FVector & OutViewLocation,
FVector & OutViewDirection
) const
Remarks
Returns view location and direction from replicated data if available or will extract it from the provided player controller. The replicated data is used first since it might be provided from a detached camera.
Method is expected to always return valid outputs if valid controller is provided. Otherwise it depends if the view information has been replicated before the methods gets called. whether OutViewLocation and OutViewDirection were assigned to valid values