AActor::GetActorEyesViewPoint

Override Hierarchy

Syntax

virtual void GetActorEyesViewPoint
(
    FVector & OutLocation,
    FRotator & OutRotation
) 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

Parameter

Description

OutLocation

location of view point

OutRotation

view rotation of actor.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp