Cogito, ergo sum

UE3:UTUIScene_OnlineToast (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:36, 16 August 2009 by Wormbo (Talk | contribs) (updated defaults)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene >> UTUIScene_OnlineToast
Package: 
UTGame
This class in other games:
UDK

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

Online toast message scene.

Properties

Property group 'UTUIScene_OnlineToast'

ToastDuration

Type: float

Amount of time to display the toast for.

Default value: 5.0

Internal variables

bFullyVisible

Type: bool

Modifiers: transient

Whether or not this toast is in the showing or hiding state.

MessageLabel

Type: UILabel

Modifiers: transient

Reference to the message label for the toast.

ShowStartTime

Type: float

Modifiers: transient

The time the toast message was displayed at.

Default values

Property Value
bAlwaysRenderScene True
bFlushPlayerInput False
bIgnoreAxisInput True
bPauseGameWhileActive False
bRenderParentScenes True
DefaultContextMenuClass Class'Engine.UIContextMenu'
SceneInputMode INPUTMODE_None

Subobjects

SceneEventComponent

Class: Engine.UIComp_Event

Inherits from: UTUIScene.SceneEventComponent

No new values.

Functions

Events

FinishToast

event FinishToast ()

Called when the toast is complete and ready to be hidden.

PostInitialize

event PostInitialize ()

Overrides: UIScreenObject.PostInitialize

Called after this screen object's children have been initialized

Other instance functions

BeginHideAnimation

function bool BeginHideAnimation (bool bClosingScene)

Overrides: UTUIScene.BeginHideAnimation

Starts the exit animation for the scene.

Returns:

TRUE if there's animation for this scene, FALSE otherwise.

BeginShowAnimation

function bool BeginShowAnimation (bool bInitialActivation, bool bBypassAnimation)

Overrides: UTUIScene.BeginShowAnimation

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.

OnAnimToastHideEnded

function OnAnimToastHideEnded (UIObject AnimTarget, int AnimIndex, UIAnimationSeq AnimSeq)

Callback for when the hide animation has ended.

SetMessage

function SetMessage (string Message)

Sets the current message for this scene.