My program doesn't have bugs. It just develops random features.

Difference between revisions of "UE3:UTDrawPanel (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
m (1 revision: class descriptions for UDK January update (part 7))
 
(No difference)

Latest revision as of 05:52, 17 January 2010

UDK Object >> UIRoot >> UIScreenObject >> UIObject >> UTUI_Widget >> UTDrawPanel
Package: 
UTGame
Direct subclasses:
UTDrawPlayerListPanel, UTScoreboardClockPanel, UTScoreboardPanel, UTScoreInfoPanel, UTSimpleImageList, UTSimpleList, UTUIOptionList
This class in other games:
UT3

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

Properties[edit]

Property group 'UTDrawPanel'[edit]

bUseFullViewport[edit]

Type: bool

If false, the cavas will be preset to the bounds of the panel. If it's true, canvas will the full viewport

Internal variables[edit]

Canvas[edit]

Type: Canvas

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

pHeight[edit]

Type: float

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

pLeft[edit]

Type: float

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

pTop[edit]

Type: float

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

pWidth[edit]

Type: float

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

ResolutionScale[edit]

Type: float

Viewport.Y / 768 - The scaling factor for this widget

Default values[edit]

Property Value
DefaultStates[2] Class'Engine.UIState_Focused'

Subobjects[edit]

WidgetEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UTUI_Widget.WidgetEventComponent

No new values.

Delegates[edit]

DrawDelegate[edit]

delegate bool DrawDelegate (Canvas C)

If this delegate is set, native code will call here first for rendering.

Returns:

true to stop native code from calling the event

Functions[edit]

Native functions[edit]

Draw2DLine[edit]

native final function Draw2DLine (int X1, int Y1, int X2, int Y2, Object.Color LineColor)

Draws a 2D Line

Events[edit]

DrawPanel[edit]

event DrawPanel ()

Handle drawing in script