There is no spoon

Difference between revisions of "UE3:UTUIPressButton (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
m (1 revision)
 
Line 8: Line 8:
 
}}
 
}}
 
{{autogenerated}}
 
{{autogenerated}}
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
+
Copyright 1998-2008 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
 
Modified version of button that fires events when the user begins and ends press, also doesn't accept focus on the console
Line 17: Line 17:
 
! Value
 
! Value
 
|-
 
|-
| __OnProcessInputKey__Delegate
+
| {{tl|OnProcessInputKey||UIScreenObject}}
|  
+
| {{tl|ProcessInputKey}}
 
|}
 
|}
  

Latest revision as of 02:22, 26 July 2008

UT3 Object >> UIRoot >> UIScreenObject >> UIObject >> UIButton >> UTUIPressButton
Package: 
UTGame
This class in other games:
UDK

Copyright 1998-2008 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[edit]

Property Value
OnProcessInputKey ProcessInputKey

Subobjects[edit]

BackgroundImageTemplate[edit]

Class: Engine.UIComp_DrawImage

Inherits from: UIButton.BackgroundImageTemplate

No new values.

WidgetEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UIButton.WidgetEventComponent

No new values.

Delegates[edit]

OnBeginPress[edit]

delegate OnBeginPress (UIScreenObject InObject, int InPlayerIndex)

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

OnEndPress[edit]

delegate OnEndPress (UIScreenObject InObject, int InPlayerIndex)


Instance functions[edit]

CanAcceptFocus[edit]

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[edit]

function bool ProcessInputKey (const out UIRoot.SubscribedInputEventParameters EventParms)

Input handling, fires press/released delegates.