Cogito, ergo sum

UE3:UTUIPressButton (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

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

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

Modified version of button that fires events when the user begins and ends press, also doesn't accept focus on the console

Default values

Property Value
__OnProcessInputKey__Delegate

Subobjects

BackgroundImageTemplate

Class: Engine.UIComp_DrawImage

Inherits from: UIButton.BackgroundImageTemplate

No new values.

WidgetEventComponent

Class: Engine.UIComp_Event

Inherits from: UIButton.WidgetEventComponent

No new values.

Delegates

OnBeginPress

delegate OnBeginPress (UIScreenObject InObject, int InPlayerIndex)

Delegates for when the user starts and ends their press of the buttons.

OnEndPress

delegate OnEndPress (UIScreenObject InObject, int InPlayerIndex)


Instance functions

CanAcceptFocus

function bool CanAcceptFocus (optional int PlayerIndex)

Overrides: UIObject.CanAcceptFocus

Determines whether this widget can become the focused control.

Parameters:

  • PlayerIndex - the index [into the Engine.GamePlayers array] for the player to check focus availability

Returns:

TRUE if this widget (or any of its children) is capable of becoming the focused control.

ProcessInputKey

function bool ProcessInputKey (const out UIRoot.SubscribedInputEventParameters EventParms)

Input handling, fires press/released delegates.