Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.Interaction

Extends
UIRoot
Modifiers
native ( UserInterface ) transient

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

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.Interaction

Direct Known Subclasses:

Console, DemoKismetInputInteraction, Input, PlayerManagerInteraction, UIInteraction, UTQueryHelper

Constants Summary
Inherited Contants from Engine.UIRoot
ASPECTRATIO_Monitor, ASPECTRATIO_Normal, ASPECTRATIO_Widescreen, DEFAULT_SIZE_X, DEFAULT_SIZE_Y, MAX_SUPPORTED_GAMEPADS, PRIVATE_EditorNoDelete, PRIVATE_EditorNoRename, PRIVATE_EditorNoReparent, PRIVATE_KeepFocusedState, PRIVATE_ManagedStyle, PRIVATE_NotDockable, PRIVATE_NotEditorSelectable, PRIVATE_NotFocusable, PRIVATE_NotRotatable, PRIVATE_PropagateState, PRIVATE_Protected, PRIVATE_TreeHidden, PRIVATE_TreeHiddenRecursive, SCENE_DATASTORE_TAG, TEMP_SPLITSCREEN_INDEX
Inherited Contants from Core.Object
DegToRad, INDEX_NONE, MaxInt, Pi, RadToDeg

Variables Summary
Inherited Variables from Engine.UIRoot
CurrentMenuState, ModifierStack
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
Inherited Enumerations from Engine.UIRoot
EColumnHeaderState, EMaterialAdjustmentType, ENavigationLinkType, EPositionEvalType, ERotationAnchor, EScreenInputMode, ESplitscreenRenderMode, ETextAutoScaleMode, ETextClipMode, EUIAlignment, EUIAspectRatioConstraint, EUIAutoSizeConstraintType, EUIDataProviderFieldType, EUIDefaultPenColor, EUIDockPaddingEvalType, EUIExtentEvalType, EUIListElementState, EUIOrientation, EUIWidgetFace
Inherited Enumerations from Core.Object
EAxis, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
Inherited Structures from Engine.UIRoot
AutoSizeData, AutoSizePadding, DefaultEventSpecification, InputEventSubscription, InputKeyAction, PlayerInteractionData, RenderParameters, ScreenPositionRange, StateInputKeyAction, StyleReferenceId, STYLE_ID, TextAutoScaleValue, TextureCoordinates, UIAnchorPosition, UICombinedStyleData, UIDataStoreBinding, UIDockingNode, UIDockingSet, UIFocusPropagationData, UIImageAdjustmentData, UIImageStyleOverride, UIInputAliasClassMap, UIInputAliasMap, UIInputAliasStateMap, UIMouseBounds, UINavigationData, UIProviderFieldValue, UIProviderScriptFieldValue, UIRangeData, UIRenderingSubregion, UIRotation, UIScreenValue, UIScreenValue_AutoSizeRegion, UIScreenValue_Bounds, UIScreenValue_DockPadding, UIScreenValue_Extent, UIScreenValue_Position, UIStringCaretParameters, UIStringNodeModifier, UIStyleOverride, UIStyleReference, UIStyleSubscriberReference, UITextAttributes, UITextStyleOverride, WIDGET_ID
Inherited Structures from Core.Object
Box, BoxSphereBounds, Color, Cylinder, double, DynamicMap_Mirror, Guid, IndirectArray_Mirror, InterpCurveFloat, InterpCurvePointFloat, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, Rotator, TextureMipBulkData_Mirror, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Delegates Summary
delegate OnInitialize ()
delegatebool OnReceivedNativeInputAxis (int ControllerId, name Key, float Delta, float DeltaTime, optional bool bGamepad)
delegatebool OnReceivedNativeInputChar (int ControllerId, string Unicode)
delegatebool OnReceivedNativeInputKey (int ControllerId, name Key, EInputEvent EventType, optional float AmountDepressed=1.f, optional bool bGamepad)

Functions Summary
function Init ()
function Initialized ()
function NotifyGameSessionEnded ()
function NotifyPlayerAdded (int PlayerIndex, LocalPlayer AddedPlayer)
function NotifyPlayerRemoved (int PlayerIndex, LocalPlayer RemovedPlayer)
event PostRender (Canvas Canvas)
event Tick (float DeltaTime)
Inherited Functions from Engine.UIRoot
<, =, ConvertWidgetIDToString, GetCurrentUIController, GetCursorPosition, GetCursorSize, GetDataStoreFieldValue, GetDataStoreStringValue, GetFaceOrientation, GetPrimitiveTransform, GetSceneClient, IsConsole, SetDataStoreFieldValue, SetDataStoreStringValue, SetMouseCaptureOverride
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClassIsChildOf, ClearConfig, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, Exp, FClamp, FCubicInterp, FindDeltaAngle, FindObject, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetDotDistance, GetEnum, GetFuncName, GetHeadingAngle, GetNetFuncName, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetSpecialValue, GetStateName, GetUnAxes, GotoState, InStr, IsA, IsChildState, IsInState, IsNetScript, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, OrthoRotation, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointInBox, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, SaveConfig, SClampRotAxis, ScriptTrace, SetSpecialValue, SetUTracing, Sin, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Delegates Detail

OnInitialize Source code

delegate OnInitialize ( )
Called from native Init() after native initialization has been performed.

OnReceivedNativeInputAxis Source code

delegate bool OnReceivedNativeInputAxis ( int ControllerId, name Key, float Delta, float DeltaTime, optional bool bGamepad )
Provides script-only child classes the opportunity to handle input axis events received from the viewport. This delegate is ONLY called when input is being routed natively from the GameViewportClient (i.e. NOT when unrealscript calls the InputKey native unrealscript function on this Interaction).
@param ControllerId the controller that generated this input axis event
@param Key the name of the axis that moved (KEY_MouseX, KEY_XboxTypeS_LeftX, etc.)
@param Delta the movement delta for the axis
@param DeltaTime the time (in seconds) since the last axis update.
@param bGamepad input came from gamepad (ie xbox controller)
@return return TRUE to indicate that the input event was handled. if the return value is TRUE, the input event will not be processed by this Interaction's native code.

OnReceivedNativeInputChar Source code

delegate bool OnReceivedNativeInputChar ( int ControllerId, string Unicode )
Provides script-only child classes the opportunity to handle character input (typing) events received from the viewport. This delegate is ONLY called when input is being routed natively from the GameViewportClient (i.e. NOT when unrealscript calls the InputKey native unrealscript function on this Interaction).
@param ControllerId the controller that generated this character input event
@param Unicode the character that was typed
@return return TRUE to indicate that the input event was handled. if the return value is TRUE, the input event will not be processed by this Interaction's native code.

OnReceivedNativeInputKey Source code

delegate bool OnReceivedNativeInputKey ( int ControllerId, name Key, EInputEvent EventType, optional float AmountDepressed=1.f, optional bool bGamepad )
Provides script-only child classes the opportunity to handle input key events received from the viewport. This delegate is ONLY called when input is being routed natively from the GameViewportClient (i.e. NOT when unrealscript calls the InputKey native unrealscript function on this Interaction).
@param ControllerId the controller that generated this input key event
@param Key the name of the key which an event occured for (KEY_Up, KEY_Down, etc.)
@param EventType the type of event which occured (pressed, released, etc.)
@param AmountDepressed for analog keys, the depression percent.
@param bGamepad input came from gamepad (ie xbox controller)
@return return TRUE to indicate that the input event was handled. if the return value is TRUE, the input event will not be processed by this Interaction's native code.


Functions Detail

Init Source code

native final noexport function Init ( )
Called when the interaction is added to the GlobalInteractions array.

Initialized Source code

function Initialized ( )
default handler for OnInitialize delegate. Here so that child classes can override the default behavior easily

NotifyGameSessionEnded Source code

function NotifyGameSessionEnded ( )
Called when the current map is being unloaded. Cleans up any references which would prevent garbage collection.

NotifyPlayerAdded Source code

function NotifyPlayerAdded ( int PlayerIndex, LocalPlayer AddedPlayer )
Called when a new player has been added to the list of active players (i.e. split-screen join)
@param PlayerIndex the index [into the GamePlayers array] where the player was inserted
@param AddedPlayer the player that was added

NotifyPlayerRemoved Source code

function NotifyPlayerRemoved ( int PlayerIndex, LocalPlayer RemovedPlayer )
Called when a player has been removed from the list of active players (i.e. split-screen players)
@param PlayerIndex the index [into the GamePlayers array] where the player was located
@param RemovedPlayer the player that was removed

PostRender Source code

event PostRender ( Canvas Canvas )
Called once a frame to allow the interaction to draw to the canvas
@param Canvas Canvas object to draw to

Tick Source code

event Tick ( float DeltaTime )
Called once a frame to update the interaction's state.
@param DeltaTime - The time since the last frame.


Defaultproperties

defaultproperties
{
   __OnInitialize__Delegate=Default__Interaction.Initialized
   Name="Default__Interaction"
   ObjectArchetype=UIRoot'Engine.Default__UIRoot'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:37.893 - Created with UnCodeX