I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:BrowserManager (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> BrowserManager

Contents

Package: 
UnrealEd
This class in other games:
UDK

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

This class handles the registration, creation, and destruction of browser panes. All of the browser panes are registered in an INI file so that they can be late bound into the editor.

See: UBrowserManager.h for the native definitions

[edit] Properties

[edit] bHasCreatedPanes

Type: bool

Whether the browser panes have been created or not

[edit] BrowserMenuPtr

Type: pointer

Modifiers: const, transient

Holds the pointer to the frame window's menus that are to be changed as browsers are created and removed.

[edit] BrowserPanes

Type: array<BrowserPaneInfo>

Modifiers: config

Holds the list of browser panes to create/support

Default value, index 0:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "GenericBrowser"
WxWindowClassName "WxGenericBrowser"

Default value, index 1:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "ActorBrowser"
PaneID 1
WxWindowClassName "WxActorBrowser"

Default value, index 2:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "GroupBrowser"
PaneID 2
WxWindowClassName "WxGroupBrowser"

Default value, index 3:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "LevelBrowser"
PaneID 3
WxWindowClassName "WxLevelBrowser"

Default value, index 4:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "ReferencedAssetsBrowser"
PaneID 4
WxWindowClassName "WxReferencedAssetsBrowser"

Default value, index 5:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "TerrainBrowser"
PaneID 5
WxWindowClassName "WxTerrainBrowser"

Default value, index 6:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "Primitive Stats"
PaneID 6
WxWindowClassName "WxPrimitiveStatsBrowser"

Default value, index 7:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "Dynamic Shadow Stats"
PaneID 7
WxWindowClassName "WxDynamicShadowStatsBrowser"

Default value, index 8:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "SceneManager"
PaneID 8
WxWindowClassName "WxSceneManager"

Default value, index 9:

Member Value
CloneNumber -1
CloneOfPaneID -1
FriendlyName "LogBrowser"
PaneID 30
WxWindowClassName "WxLogBrowser"

[edit] DockingContainerPtr

Type: pointer

Modifiers: const, transient

This is the docking container instance

[edit] FloatingWindowsArrayPtr

Type: pointer

Modifiers: const, transient

Holds the list of floating windows not docked in the docking container

[edit] LastSelectedPaneID

Type: int

Modifiers: config

The last selected browser pane

[edit] UISceneManager

Type: UISceneManager

Modifiers: const, transient

The UI editor manager. Handles creating and managing UI scenes that are being edited. Stored here instead of in the UIScene browser type because there should be only one of these guys around.

[edit] Structs

[edit] BrowserPaneInfo

Modifiers: native

Struct containing the information needed to register a browser window

int PaneID 
This is the browser pane id used for associating instantiated windows

with their events, etc.

string WxWindowClassName 
The name of the wxWindow to create for the browser pane.

NOTE: This must be a subclass of WxDockableWindow

string FriendlyName 
This is the friendly name used to find browsers by name instead of

by id

int CloneOfPaneID 
Used to indicate that this pane is a clone of a "canonical" pane. This

is used to allow the removal of a clone, but hiding of a "canonical" pane. This prevents the user from permanently deleting a pane from their configuration.

int CloneNumber 
Number for this clone so that the description can indicate it (Log-1)
pointer WxBrowserPtr 
This is a pointer to the window that has been created