G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UIngameTool_Outliner Class Reference

UnrealEditor style outliner, allowing to select actors, interaction spots and world points currently in the level. More...

Public Member Functions

Functions
void SetSelectedActor (AActor NewSelectedActor)
 Wraps the actor into an element and selects it (triggers delegates).
void SetSelectedElement (UIngameToolOutlinerElement NewSelectedElement)
 Set the selected element (triggers delegates). Pass nullptr to clear the selection.
UIngameToolOutlinerElement GetSelectedElement () const
 Currently selected element.
AActor GetSelectedActor () const
 The selected actor, or nullptr if nothing or a non-actor element is selected.
Public Member Functions inherited from UIngameTool
void DrawImGuiQuickToolButtons ()
 Override to draw compact quick-access buttons into the always-on top-right overlay.
void DrawImGuiWindow ()
 Override and draw/update your tool here.
void Initialize ()
 Called once on startup (after all ToolPanels have been gathered and created).
void DrawImGuiAlways ()
 Override and draw/update your tool here. Called even when the window is not visible.
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UIngameTool
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

IngameTool_Outliner
FString FilterWildcard
 Wildcard applied against names (and classnames for actors).
TSubclassOf< AActor > ActorClassFilter
 If set, only show actors of that class.
UIngameToolOutlinerElement SelectedElement
 Currently selected element.
EIngameTool_Outliner_Mode Mode
 How the actor list should be shown.
Variables
AActor SelectedActor
 The selected actor, or nullptr if nothing or a non-actor element is selected.
FIngameToolOutliner_SelectedElementChanged__IngameTool_Outliner OnSelectedElementChanged
 Called whenever the selected element changed.
Public Attributes inherited from UIngameTool
FString Category
 What kind of tool this is (Shown on left side).
FString MenuPath
 Dot-separated path in the top menu bar, e.g. "Tools.Debug.My Tool".
FString Title
 User-facing name of this tool.
EIngameToolPanelDockNode DefaultDockNode
 Which dock-node to put this into initially.
bool bIsWindowOpen
 What kind of tool this is (Shown on left side).
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Detailed Description

UnrealEditor style outliner, allowing to select actors, interaction spots and world points currently in the level.

Member Function Documentation

◆ GetSelectedActor()

AActor GetSelectedActor ( ) const

The selected actor, or nullptr if nothing or a non-actor element is selected.

◆ GetSelectedElement()

UIngameToolOutlinerElement GetSelectedElement ( ) const

Currently selected element.

◆ SetSelectedActor()

void SetSelectedActor ( AActor NewSelectedActor)

Wraps the actor into an element and selects it (triggers delegates).

◆ SetSelectedElement()

void SetSelectedElement ( UIngameToolOutlinerElement NewSelectedElement)

Set the selected element (triggers delegates). Pass nullptr to clear the selection.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ ActorClassFilter

TSubclassOf<AActor> ActorClassFilter

If set, only show actors of that class.

◆ FilterWildcard

FString FilterWildcard

Wildcard applied against names (and classnames for actors).

◆ Mode

How the actor list should be shown.

◆ OnSelectedElementChanged

Called whenever the selected element changed.

◆ SelectedActor

AActor SelectedActor

The selected actor, or nullptr if nothing or a non-actor element is selected.

◆ SelectedElement

UIngameToolOutlinerElement SelectedElement

Currently selected element.