I don't need to test my programs. I have an error-correcting modem.
UE3:UIComp_Event (UDK)
Object >> Component >> UIComponent >> UIComp_Event |
- Package:
- Engine
- Within class:
- UIScreenObject
- 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. |
Provides a list of events that a widget can process. The outer for a UIComp_Event MUST be a UIScreenObject.
Properties[edit]
DefaultEvents[edit]
Type: array<UIRoot.DefaultEventSpecification>
Events which should be implemented for this widget by default. For example, a button should respond to mouse clicks without requiring the designer to attach a UIEvent_ProcessClick event to every button. To accomplish this, in the UIButton class's defaultproperties you would define a UIEvent_ButtonClick object using a subobject definition, then add that event to the DefaultEvents array for the EventProvider of the UIButton class. Since this property will almost always have values assigned in defaults (via the subobject definition for this object) it isn't marked instanced (see the
Note: in the next comment). Instead, these objects will be manually instanced when a new widget is created.
DisabledEventAliases[edit]
List of disabled UI event aliases that will not have their input subscribed.
EventContainer[edit]
Type: UISequence
The sequence that contains the events implemented for this widget.
Note: do not give this variable a default value, or each time a UIComp_Event object is loaded from disk, StaticConstructObject (well, really InitProperties) will construct an object of this type that will be immediately overwritten when the UIComp_Event object is serialized from disk.
InputProcessor[edit]
Type: UIEvent_ProcessInput
Modifiers: transient
The UIEvent responsible for routing input key events to kismet actions. Created at runtime whenever input keys are registered with the owning wiget.
Native functions[edit]
RegisterInputEvents[edit]
Adds the input events for the specified state to the owning scene's InputEventSubscribers
Parameters:
- InputEventOwner - the state that contains the input keys that should be registered with the scene
- PlayerIndex - the index of the player to register the input keys for
UnregisterInputEvents[edit]
Removes the input events for the specified state from the owning scene's InputEventSubscribers
Parameters:
- InputEventOwner - the state that contains the input keys that should be removed from the scene
- PlayerIndex - the index of the player to unregister input keys for