Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ADebugCameraController
Description
Called when an actor has been selected with the primary key (e.g. left mouse button).
The selection trace starts from the center of the debug camera's view.
| Name | ReceiveOnActorSelected |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/DebugCameraController.h |
| Include Path | #include "Engine/DebugCameraController.h" |
UFUNCTION (BlueprintImplementableEvent, Category="Debug Camera",
Meta=(DisplayName="OnActorSelected"))
void ReceiveOnActorSelected
(
AActor * NewSelectedActor,
const FVector & SelectHitLocation,
const FVector & SelectHitNormal,
const FHitResult & Hit
)
Parameters
| Name | Remarks |
|---|---|
| SelectHitLocation | The exact world-space location where the selection trace hit the New Selected Actor. |
| SelectHitNormal | The world-space surface normal of the New Selected Actor at the hit location. |