Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
Difference between revisions of "UE3:UTUIScene (UDK)"
(Talk) |
m (1 revision: class descriptions for UDK January update (part 8)) |
(No difference)
|
Latest revision as of 06:02, 17 January 2010
Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene |
Contents
- 1 Constants
- 2 Properties
- 3 Delegates
- 4 Functions
- 4.1 Static functions
- 4.2 Native functions
- 4.3 Events
- 4.4 Other instance functions
- 4.4.1 BeginHideAnimation
- 4.4.2 BeginShowAnimation
- 4.4.3 CheckLinkConnectionAndError
- 4.4.4 ConsoleCommand
- 4.4.5 DisplayMessageBox
- 4.4.6 FinishCloseScene
- 4.4.7 FinishOpenScene
- 4.4.8 GetCommonOptionsURL
- 4.4.9 GetInputBoxScene
- 4.4.10 GetMessageBoxScene
- 4.4.11 GetPlayerControllerId
- 4.4.12 GetPlayerIndex
- 4.4.13 GetPlayerName
- 4.4.14 GetPlayerProfile
- 4.4.15 GetPlayerProfileFromPC
- 4.4.16 GetPRIOwner
- 4.4.17 GetUTInteraction
- 4.4.18 NotifyChildGameSessionEnded
- 4.4.19 NotifyGameSessionEnded
- 4.4.20 OnCurrentScene_HideAnimationEnded
- 4.4.21 OnPendingCloseScene_HideAnimationEnded
- 4.4.22 OpenSceneByName
- 4.4.23 PlaySound
- 4.4.24 SavePlayerProfile
- 4.4.25 SetupButtonBar
- Package:
- UTGame
- Direct subclasses:
- UTUIFrontEnd, UTUIFrontEnd_MapSelection, UTUIFrontEnd_TitleScreen, UTUIScene_Hud, UTUIScene_MessageBox, UTUIScene_OnlineToast, UTUIScene_SaveProfile
- This class in other games:
- UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Our UIScenes provide PreRender and tick passes to our Widgets
Constants[edit]
See UTUIScene constants.
Properties[edit]
Property group 'Editor'[edit]
bEditorRealTimePreview[edit]
Type: bool
Modifiers: transient
Property group 'Flags'[edit]
bIgnoreAxisInput[edit]
Type: bool
Internal variables[edit]
bHidingScene[edit]
Type: bool
Modifiers: transient
bShouldPerformScriptTick[edit]
Type: bool
Whether to call script tick for this scene
bShowingScene[edit]
Type: bool
Modifiers: transient
Animation flags, used by the tick function to determine which update func to call.
bSkipPendingCloseSceneNotify[edit]
Type: bool
Modifiers: transient
Whether or not to skip the kismet notify for the close scene that is pending.
InputBoxScene[edit]
Type: UIScene
Modifiers: transient
MessageBoxScene[edit]
Type: UIScene
Modifiers: transient
Global scene references, only scenes that are used in-game and in-menus should be referenced here.
PendingCloseScene[edit]
Type: UIScene
Modifiers: transient
Pending scene to close since we are waiting for the current scene's exit animation to end.
PendingOpenScene[edit]
Type: UIScene
Modifiers: transient
Pending scene to open since we are waiting for the current scene's exit animation to end.
PendingPlayerOwnerIndex[edit]
Type: int
Modifiers: transient
Default values[edit]
Property | Value |
---|---|
SceneSkin | UISkin'UI_Skin_Derived.UTDerivedSkin' |
Subobjects[edit]
SceneEventComponent[edit]
Class: Engine.UIComp_Event
Inherits from: UIScene.SceneEventComponent
No new values.
Delegates[edit]
OnHideAnimationEnded[edit]
Callback for when the scene's hide animation has ended.
OnSceneOpened[edit]
Callback for when a scene has opened after hiding the topmost scene.
OnShowAnimationEnded[edit]
Callback for when the scene's show animation has ended.
Functions[edit]
Static functions[edit]
ClearScreenWarningMessage[edit]
Clears the screen warning message if one was set. It will no longer be rendered.
FindDataStore[edit]
Returns:
- Returns a datastore given its tag and player owner.
GetGameInterface[edit]
Returns:
- Returns a reference to the online subsystem game interface.
GetPlayerInterface[edit]
Returns:
- Returns a reference to the online subsystem player interface.
GetPlayerInterfaceEx[edit]
Returns:
- Returns a reference to the online subsystem player interface ex.
ShowScreenWarningMessage[edit]
Displays a screen warning message. This message will be displayed prominently centered in the viewport and will persist until you call ClearScreenWarningMessage(). It's useful for important modal warnings, such as when the controller is disconnected on a console platform.
Parameters:
- Message - Message to display
StaticOpenScene[edit]
Opens a scene without any special hiding animation for previous scenes.
TrimWhitespace[edit]
Trims whitespace from the beginning and end of a string.
Native functions[edit]
ActivateLevelEvent[edit]
Activates a level remote event in kismet.
GetPawnOwner[edit]
Returns the Pawn associated with this Hud
GetUTPlayerOwner[edit]
Get the UTPlayerController that is associated with this Hud
IsGame[edit]
Returns:
- the contents of GIsGame
SetScreenResolution[edit]
Sets the screen resolution.
Parameters:
- ResX - Width of the screen
- ResY - Height of the screen
- bFullscreen - Whether or not we are fullscreen.
StartDedicatedServer[edit]
Starts a dedicated server and kills the current process.
ViewportDeProject[edit]
Converts a 2D Screen coordiate in to 3D space
Parameters:
- LocalPlayerOwner - The LocalPlayer that owns the viewport where the projection occurs
- ScreenLocation - Where on the screen are we converting from
- OutLocation - Returns the Location in world space
- OutDirection - Returns the view direction
ViewportProject[edit]
Converts a 2D Screen coordiate in to 3D space
Parameters:
- LocalPlayerOwner - The LocalPlayer that owns the viewport where the projection occurs
- WorldLocation - The world location to project to
- OutScreenLocation - Returns the location in 2D space
Events[edit]
CloseScene[edit]
Overrides: UIScene.CloseScene
Closes a UI Scene given a reference to an previously open scene.
Parameters:
- SceneToClose - Scene that we want to close.
- bSkipKismetNotify - Whether or not to close the kismet notify for the scene.
- bSkipAnimation - Whether or not to skip the close animation for this scene.
IsControllerInput[edit]
Returns whether or not the input passed in is a gamepad input event.
Parameters:
- KeyName - Key name to check
Returns:
- Returns TRUE if the input key is from a gamepad, FALSE otherwise.
OpenScene[edit]
Overrides: UIScene.OpenScene
Opens a UI Scene given a reference to a scene to open.
Parameters:
- SceneToOpen - Scene that we want to open.
- bSkipAnimation - specify TRUE to indicate that opening animations should be bypassed.
- SceneDelegate - if specified, will be called when the scene has finished opening.
TickScene[edit]
Called every frame if bShouldPerformScriptTick is true
Parameters:
- DeltaTime - is the time in seconds for this frame
UIAnimationEnded[edit]
Overrides: UIScene.UIAnimationEnded
Called when an animation on this scene has finished.
Other instance functions[edit]
BeginHideAnimation[edit]
Starts the exit animation for the scene.
Returns:
- TRUE if there's animation for this scene, FALSE otherwise.
BeginShowAnimation[edit]
Starts the show animation for the scene.
Parameters:
- bInitialActivation - TRUE if the scene is being opened; FALSE if the another scene was closed causing this one to become the topmost scene.
- bBypassAnimation - TRUE to force all animations to their last frame, effectively bypassing animations. This can be necessary for e.g. scenes which start out off-screen or something.
Returns:
- TRUE if there's animation for this scene, FALSE otherwise.
CheckLinkConnectionAndError[edit]
Returns:
- Checks to see if the platform is currently connected to a network.
ConsoleCommand[edit]
Executes a console command.
Parameters:
- string - Cmd Command to execute.
DisplayMessageBox[edit]
Displays a very simple OK message box with the specified message and title.
Parameters:
- Message - Message markup for the messagebox
- Title - Title markup for the messagebox
Returns:
- Returns a reference to the message box scene that was displayed.
FinishCloseScene[edit]
Closes a UI Scene given a reference to an previously open scene.
Parameters:
- SceneToClose - Scene that we want to close.
FinishOpenScene[edit]
Finishes opening a scene, usually called when a hide animation has ended.
Parameters:
- SceneToOpen - the scene to open
- bSkipAnimation - specify TRUE to bypass the scene's opening animation
- bSkipKismetNotify - specify TRUE to prevent the 'OpeningMenu' level event from being activated.
Returns:
- reference to the UIScene instance that was opened.
GetCommonOptionsURL[edit]
Returns:
- Generates a set of URL options common to both instant action and host game.
GetInputBoxScene[edit]
Returns:
- Opens the input box scene and returns a reference to it.
GetMessageBoxScene[edit]
Returns:
- Opens the message box scene and returns a reference to it.
GetPlayerControllerId[edit]
Returns:
- Returns the controller id of a player given its player index.
GetPlayerIndex[edit]
Returns:
- Returns the player index of the player owner for this scene.
GetPlayerName[edit]
Returns:
- Returns the name of the specified player if they have an alias or are logged in, or "DefaultPlayer" otherwise.
GetPlayerProfile[edit]
Returns the Player Profile for a given player index.
Parameters:
- PlayerIndex - The player who's profile you require
Returns:
- the profile precast to UTProfileSettings
GetPlayerProfileFromPC[edit]
Returns the Player Profile for a given player index.
Parameters:
- PC - The PlayerContorller of the profile you require.
Returns:
- the profile precast to UTProfileSettings
GetPRIOwner[edit]
Returns the PRI associated with this hud
GetUTInteraction[edit]
Returns:
- Return a reference to the UT specific version of the UI interaction.
NotifyChildGameSessionEnded[edit]
NotifyGameSessionEnded[edit]
Overrides: UIScene.NotifyGameSessionEnded
Called when the current map is being unloaded. Cleans up any references which would prevent garbage collection.
OnCurrentScene_HideAnimationEnded[edit]
Callback for when the current scene's hide animation has completed.
OnPendingCloseScene_HideAnimationEnded[edit]
Callback for when the scene we are closing's hide animation has completed.
OpenSceneByName[edit]
Opens a UI Scene given a reference to a scene to open.
Parameters:
- SceneToOpen - Scene that we want to open.
PlaySound[edit]
Allows easy access to playing a sound
Parameters:
- InSoundCue - The Cue to play
- SoundLocation - Where in the world to play it. Defaults at the Player's position
SavePlayerProfile[edit]
Saves the profile for the specified player index.
Parameters:
- PlayerIndex - The player index of the player to save the profile for.
SetupButtonBar[edit]
Function that sets up a buttonbar for this scene, automatically routes the call to the currently selected tab of the scene as well.