The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:UTDrawPanel (UDK)
Object >> UIRoot >> UIScreenObject >> UIObject >> UTUI_Widget >> UTDrawPanel |
Contents
- Package:
- UTGame
- Direct subclasses:
- UTDrawPlayerListPanel, UTScoreboardClockPanel, UTScoreboardPanel, UTScoreInfoPanel, UTSimpleImageList, UTSimpleList, UTUIOptionList
- 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. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties
Property group 'UTDrawPanel'
bUseFullViewport
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
Canvas
Type: Canvas
Holds a reference to the canvas. This is only valid during the DrawPanel() event
pHeight
Type: float
Holds the Coords of this panel in PixelViewport and it's only valid during rendering
pLeft
Type: float
Holds the Coords of this panel in PixelViewport and it's only valid during rendering
pTop
Type: float
Holds the Coords of this panel in PixelViewport and it's only valid during rendering
pWidth
Type: float
Holds the Coords of this panel in PixelViewport and it's only valid during rendering
ResolutionScale
Type: float
Viewport.Y / 768 - The scaling factor for this widget
Default values
Property | Value |
---|---|
DefaultStates[2] | Class'Engine.UIState_Focused' |
Subobjects
WidgetEventComponent
Class: Engine.UIComp_Event
Inherits from: UTUI_Widget.WidgetEventComponent
No new values.
Delegates
DrawDelegate
If this delegate is set, native code will call here first for rendering.
Returns:
- true to stop native code from calling the event
Functions
Native functions
Draw2DLine
Draws a 2D Line
Events
DrawPanel
Handle drawing in script