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

Engine.UISceneClient

Extends
UIRoot
Modifiers
native ( UserInterface ) abstract inherits ( FExec , FCallbackEventDevice ) transient

Serves as the interface between a UIScene and scene owners. Provides scenes with all data necessary for operation and routes rendering to the scenes. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

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

Direct Known Subclasses:

EditorUISceneClient, GameUISceneClient

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
UIObjectActiveControl
UISkinActiveSkin
boolbEnablePostProcess
matrixCanvasToScreen
DataStoreClientDataStoreManager
matrixInvCanvasToScreen
IntPointMousePosition
MaterialInstanceConstantOpacityParameter
nameOpacityParameterName
pointerRenderViewport
PostProcessChainUIScenePostProcess
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

Functions Summary
functionbool ChangeActiveSkin (UISkin NewActiveSkin)
functionbool ChangeMouseCursor (name CursorName)
functionbool CloseScene (UIScene Scene)
functionUIScene GetActiveScene ()))
functionmatrix GetCanvasToScreen (optional const UIObject Widget ) con)
functionmatrix GetInverseCanvasToScreen (optional const UIObject Widget ) con)
functionbool InitializeScene (UIScene Scene, optional LocalPlayer SceneOwner, optional out UIScene InitializedScene)
functionbool IsSceneInitialized (UIScene Scene ) con)
functionbool IsUIActive (optional int Flags=0 ) con)
functionbool OpenScene (UIScene Scene, optional LocalPlayer SceneOwner, optional out UIScene OpenedScene)
function SetMousePosition (int NewMouseX, int NewMouseY)
function UpdateCanvasToScreen ()
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, ^, ^^, |, ||, ~, ~=


Variables Detail

ActiveControl Source code

var const transient UIObject ActiveControl;
Represents the widget/scene that is currently under the mouse cursor. @fixme splitscreen

ActiveSkin Source code

var transient UISkin ActiveSkin;
The active UISkin. Only one UISkin can be active at a time. The special data store name 'Styles' always corresponds to the ActiveSkin.

bEnablePostProcess Source code

var transient bool bEnablePostProcess;
if TRUE then post processing is enabled using the UIScenePostProcess

CanvasToScreen Source code

var const transient matrix CanvasToScreen;
Stores the 3D projection matrix being used to render the UI.

DataStoreManager Source code

var const transient DataStoreClient DataStoreManager;
Manager all persistent global data stores. Set by the object that creates the scene client.

InvCanvasToScreen Source code

var const transient matrix InvCanvasToScreen;

MousePosition Source code

var const transient IntPoint MousePosition;
the location of the mouse @fixme splitscreen

OpacityParameter Source code

var transient MaterialInstanceConstant OpacityParameter;
Material instance parameter for UI widget opacity.

OpacityParameterName Source code

var const transient name OpacityParameterName;
Name of the opacity parameter.

RenderViewport Source code

var const transient native pointer RenderViewport;
the viewport to use for rendering scenes

UIScenePostProcess Source code

var transient PostProcessChain UIScenePostProcess;
Post process chain to be applied when rendering UI Scenes


Functions Detail

ChangeActiveSkin Source code

native final noexport function bool ChangeActiveSkin ( UISkin NewActiveSkin )
Changes the active skin to the skin specified, initializes the skin and performs all necessary cleanup and callbacks. This method should only be called from script.
@param NewActiveScene The skin to activate
@return TRUE if the skin was successfully changed.

ChangeMouseCursor Source code

native final virtual function bool ChangeMouseCursor ( name CursorName )
Changes the resource that is currently being used as the mouse cursor. Called by widgets as they changes states, or when some action occurs which affects the mouse cursor.
@param CursorName the name of the mouse cursor resource to use. Should correspond to a name from the active UISkin's MouseCursorMap
@return TRUE if the cursor was successfully changed.

CloseScene Source code

native function bool CloseScene ( UIScene Scene )
Deactivates the specified scene, as well as all scenes which occur after the specified scene in the list of active scenes.
@param Scene the scene to deactivate
@return true if the scene was successfully deactivated

GetActiveScene Source code

function UIScene GetActiveScene ( ) )
Returns the currently active scene

GetCanvasToScreen Source code

native final const function matrix GetCanvasToScreen ( optional const UIObject Widget ) con )
Returns the current canvas to screen projection matrix.
@param Widget if specified, the returned matrix will include the widget's tranformation matrix as well.
@return a matrix which can be used to project 2D pixel coordines into 3D screen coordinates. ??

GetInverseCanvasToScreen Source code

native final const function matrix GetInverseCanvasToScreen ( optional const UIObject Widget ) con )
Returns the inverse of the local to world screen projection matrix.
@param Widget if specified, the returned matrix will include the widget's tranformation matrix as well.
@return a matrix which can be used to transform normalized device coordinates (i.e. origin at center of screen) into into 0,0 based pixel coordinates. ??

InitializeScene Source code

native final noexport function bool InitializeScene ( UIScene Scene, optional LocalPlayer SceneOwner, optional out UIScene InitializedScene )
Initializes the specified scene without opening it.
@param Scene the scene to initialize; if the scene specified is contained in a content package, a copy of the scene will be created, and that scene will be initialized instead.
@param SceneOwner the player that should be associated with the new scene. Will be assigned to the scene's PlayerOwner property.
@param InitializedScene the scene that was actually initialized. If Scene is located in a content package, InitializedScene will be the copy of the scene that was created. Otherwise, InitializedScene will be the same as the scene passed in.
@return TRUE if the scene was successfully initialized
@note - noexport to handle the optional out parameter correctly

IsSceneInitialized Source code

native final noexport const function bool IsSceneInitialized ( UIScene Scene ) con )
Returns whether the specified scene has been fully initialized. Different from UUIScene::IsInitialized() in that this method returns true only once all objects related to this scene have been created and initialized (e.g. in the UI editor only returns TRUE once the editor window for this scene has finished creation).
@param Scene the scene to check.
@note: noexport because the C++ version is a pure virtual

IsUIActive Source code

native final noexport const function bool IsUIActive ( optional int Flags=0 ) con )
Returns true if there is an unhidden fullscreen UI active
@param Flags a bitmask of values which alter the result of this method; the bits are derived from the ESceneFilterTypes enum (which is native-only); script callers must pass these values literally
@return TRUE if the UI is currently active

OpenScene Source code

native final noexport function bool OpenScene ( UIScene Scene, optional LocalPlayer SceneOwner, optional out UIScene OpenedScene )
Initializes and activates the specified scene.
@param Scene the scene to open; if the scene specified is contained in a content package, a copy of the scene will be created and the copy will be opened instead.
@param SceneOwner the player that should be associated with the new scene. Will be assigned to the scene's PlayerOwner property.
@param OpenedScene the scene that was actually opened. If Scene is located in a content package, OpenedScene will be the copy of the scene that was created. Otherwise, OpenedScene will be the same as the scene passed in.
@return TRUE if the scene was successfully opened
@note - noexport to handle the optional out parameter correctly

SetMousePosition Source code

native final virtual function SetMousePosition ( int NewMouseX, int NewMouseY )
Set the mouse position to the coordinates specified
@param NewX the X position to move the mouse cursor to (in pixels)
@param NewY the Y position to move the mouse cursor to (in pixels)

UpdateCanvasToScreen Source code

native final noexport function UpdateCanvasToScreen ( )
Changes the matrix for projecting local (pixel) coordinates into world screen (normalized device) coordinates. This method should be called anytime the viewport size or origin changes.


Defaultproperties

defaultproperties
{
   Name="Default__UISceneClient"
   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:47.809 - Created with UnCodeX