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

UTGame.UTDrawPanel

Extends
UTUI_Widget
Modifiers
placeable native ( UI )

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

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIScreenObject
      |   
      +-- Engine.UIObject
         |   
         +-- UTGame.UTUI_Widget
            |   
            +-- UTGame.UTDrawPanel

Direct Known Subclasses:

UTDrawCommandPanel, UTDrawMapPanel, UTDrawMapVotePanel, UTDrawPlayerListPanel, UTScoreboardClockPanel, UTScoreboardPanel, UTScoreInfoPanel, UTSimpleImageList, UTSimpleList, UTUIOptionList

Constants Summary
Inherited Contants from Engine.UIObject
CONTEXTMENU_BINDING_INDEX, FIRST_DEFAULT_DATABINDING_INDEX, TOOLTIP_BINDING_INDEX

Variables Summary
CanvasCanvas
floatpHeight
floatpLeft
floatpTop
floatpWidth
floatResolutionScale
UTDrawPanel
boolbUseFullViewport
Inherited Variables from UTGame.UTUI_Widget
bRequiresTick, UTSceneOwner
Inherited Variables from Engine.UIObject
AnimationParent, AnimationPosition, AnimStack, bDebugShowBounds, bEnableActiveCursorUpdates, bSupportsPrimaryStyle, ContextMenuData, DebugBoundsColor, DockTargets, NavigationTargets, Owner, OwnerScene, PrimaryStyle, PrivateFlags, RenderBoundsVertices[EUIWidgetFace.UIFACE_MAX], RenderBounds[EUIWidgetFace.UIFACE_MAX], RenderOffset, Rotation, StyleSubscribers, TabIndex, ToolTip, WidgetID, WidgetTag

Delegates Summary
delegatebool DrawDelegate (Canvas C)
Inherited Delegates from Engine.UIObject
OnClicked, OnCloseContextMenu, OnContextMenuItemSelected, OnCreate, OnDoubleClick, OnOpenContextMenu, OnPressed, OnPressRelease, OnPressRepeat, OnQueryToolTip, OnRefreshSubscriberValue, OnUIAnimEnd, OnValueChanged

Functions Summary
function Draw2DLine (int X1, int Y1, int X2, int Y2, color LineColor)
event DrawPanel ()
Inherited Functions from UTGame.UTUI_Widget
FindDataStore, GetPlayerControllerId, NotifyGameSessionEnded
Inherited Functions from Engine.UIObject
AddStyleSubscriber, AnimSetBottom, AnimSetColor, AnimSetLeft, AnimSetOpacity, AnimSetPosition, AnimSetRelPosition, AnimSetRight, AnimSetRotation, AnimSetScale, AnimSetTop, AnimSetVisibility, CanAcceptFocus, ClearDefaultDataBinding, ClearUIAnimation, FindStyleSubscriberIndex, FindStyleSubscriberIndexById, GenerateSceneDataStoreMarkup, GenerateTransformMatrix, GetAnchorPosition, GetDefaultDataBinding, GetDefaultDataStores, GetOwner, GetParent, GetPositionExtent, GetPositionExtents, GetRotationMatrix, GetScene, GetToolTipValue, HasTransform, IsContainedBy, IsDockedTo, IsPrivateBehaviorSet, LogRenderBounds, NeedsActiveCursorUpdates, NotifyValueChanged, OnSetDatastoreBinding, PlayUIAnimation, RemoveStyleSubscriber, ResolveDefaultDataBinding, ResolveStyles, RotateWidget, SetActiveCursorUpdate, SetAnchorPosition, SetDefaultDataBinding, SetDockPadding, SetDockParameters, SetDockTarget, SetForcedNavigationTarget, SetNavigationTarget, SetPrivateBehavior, SetWidgetStyleByName, StopUIAnimation, TickAnim, UIAnimEnd, UpdateRotationMatrix


Variables Detail

Canvas Source code

var Canvas Canvas;
Holds a reference to the canvas. This is only valid during the DrawPanel() event

pHeight Source code

var float pHeight;
Holds the Coords of this panel in PixelViewport and it's only valid during rendering

pLeft Source code

var float pLeft;
Holds the Coords of this panel in PixelViewport and it's only valid during rendering

pTop Source code

var float pTop;
Holds the Coords of this panel in PixelViewport and it's only valid during rendering

pWidth Source code

var float pWidth;
Holds the Coords of this panel in PixelViewport and it's only valid during rendering

ResolutionScale Source code

var float ResolutionScale;
Viewport.Y / 768 - The scaling factor for this widget

UTDrawPanel

bUseFullViewport Source code

var(UTDrawPanel) bool bUseFullViewport;
If false, the cavas will be preset to the bounds of the panel. If it's true, canvas will the full viewport


Delegates Detail

DrawDelegate Source code

delegate bool DrawDelegate ( Canvas C )
If this delegate is set, native code will call here first for rendering. @Return true to stop native code from calling the event


Functions Detail

Draw2DLine Source code

native final function Draw2DLine ( int X1, int Y1, int X2, int Y2, color LineColor )
Draws a 2D Line

DrawPanel Source code

event DrawPanel ( )
Handle drawing in script


Defaultproperties

defaultproperties
{
   DefaultStates(2)=Class'Engine.UIState_Focused'
   Begin Object Class=UIComp_Event Name=WidgetEventComponent ObjName=WidgetEventComponent Archetype=UIComp_Event'UTGame.Default__UTUI_Widget:WidgetEventComponent'
      ObjectArchetype=UIComp_Event'UTGame.Default__UTUI_Widget:WidgetEventComponent'
   End Object
   EventProvider=WidgetEventComponent
   Name="Default__UTDrawPanel"
   ObjectArchetype=UTUI_Widget'UTGame.Default__UTUI_Widget'
}

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