Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AController
- AActor::GetActorEyesViewPoint()
- AController::GetActorEyesViewPoint()
- APlayerController::GetActorEyesViewPoint()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Controller.h |
Include | #include "GameFramework/Controller.h" |
Source | /Engine/Source/Runtime/Engine/Private/Controller.cpp |
virtual void GetActorEyesViewPoint
&40;
FVector & OutLocation,
FRotator & OutRotation
&41; const
Remarks
Returns the point of view of the actor. Note that this doesn't mean the camera, but the 'eyes' of the actor. For example, for a Pawn, this would define the eye height location, and view rotation (which is different from the pawn rotation which has a zeroed pitch component). A camera first person view will typically use this view point. Most traces (weapon, AI) will be done from this view point.
Parameters
Name | Description |
---|---|
OutLocation | location of view point |
OutRotation | view rotation of actor. |