Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainEditorLibrary::

LookAt

Editor onlyBlueprint

Point every perspective level viewport at the ground under Target_m (world X and Y, m) from Distance_m away, Pitch_deg below the horizon, looking along Yaw_deg; realtime on.

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Editor")
static void LookAt(UWorld* World, FVector2D Target_m, double Distance_m = 80.0, double Pitch_deg = 40.0, double Yaw_deg = 30.0);
Blueprint Look At
The graph as text
  1. Look At (function call)
    • In World (World object): None
    • In Target M (Vector2D): not connected
    • In Distance M (Double): 80.0
    • In Pitch Deg (Double): 40.0
    • In Yaw Deg (Double): 30.0
Header
#include "OrreryTerrainEditorLibrary.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.
Thread
Game thread, editor only. (the rule of UOrreryTerrainEditorLibrary)
Blueprint
Look At, in Orrery › Terrain › Editor

Parameters

NameTypeDefaultMeaning
WorldUWorld*——
Target_mFVector2D——
Distance_mdouble80.0—
Pitch_degdouble40.0—
Yaw_degdouble30.0—