I love the smell of UnrealEd crashing in the morning. – tarquin
UE3:UTDrawPanel (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> UIRoot >> UIScreenObject >> UIObject >> UTUI_Widget >> UTDrawPanel |
Contents |
- Package:
- UTGame
- Direct subclasses:
- UTDrawCommandPanel, UTDrawMapPanel, UTDrawMapVotePanel, UTDrawPlayerListPanel, UTScoreInfoPanel, UTScoreboardClockPanel, UTScoreboardPanel, UTSimpleImageList, UTSimpleList, UTUIOptionList
- This class in other games:
- UDK
| This is an auto-generated page and may need human attention. Please remove this 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.
[edit] Properties
[edit] Property group 'UTDrawPanel'
[edit] 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
[edit] Internal variables
[edit] Canvas
Type: Canvas
Holds a reference to the canvas. This is only valid during the DrawPanel() event
[edit] pHeight
Type: float
Holds the Coords of this panel in PixelViewport and it's only valid during rendering
[edit] pLeft
Type: float
Holds the Coords of this panel in PixelViewport and it's only valid during rendering
[edit] pTop
Type: float
Holds the Coords of this panel in PixelViewport and it's only valid during rendering
[edit] pWidth
Type: float
Holds the Coords of this panel in PixelViewport and it's only valid during rendering
[edit] ResolutionScale
Type: float
Viewport.Y / 768 - The scaling factor for this widget
[edit] Default values
| Property | Value |
|---|---|
| DefaultStates[2] | Class'Engine.UIState_Focused' |
[edit] Subobjects
[edit] WidgetEventComponent
Class: Engine.UIComp_Event
Inherits from: UTUI_Widget.WidgetEventComponent
No new values.
[edit] Delegates
[edit] DrawDelegate
If this delegate is set, native code will call here first for rendering.
Returns:
- true to stop native code from calling the event
[edit] Functions
[edit] Native functions
[edit] Draw2DLine
Draws a 2D Line
[edit] Events
[edit] DrawPanel
Handle drawing in script
